From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,609e9771f7bd9d7 X-Google-Attributes: gid103376,public From: Marin Condic Subject: Re: Ada computer project HELP Date: 1999/11/18 Message-ID: <38344D1C.5ECC3ABD@pwfl.com>#1/1 X-Deja-AN: 550231011 Content-Transfer-Encoding: 7bit Sender: condicma@bogon.pwfl.com References: <8115vj$rub$1@nnrp1.deja.com> <8118gs$u02$1@nnrp1.deja.com> <811bsj$r0$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Pratt & Whitney Mime-Version: 1.0 Reply-To: condicma@pwflcom Newsgroups: comp.lang.ada Date: 1999-11-18T00:00:00+00:00 List-Id: amanda_laumb@my-deja.com wrote: > NO, we have done work on it already. We just can't figure out how to > replace the ****** with the letters as the player guesses the word. > that's what we need help with. I'll try to help without actually doing the work for you... Presumably, you have a string which is holding the word to be guessed. Further, you have read in a character and a position number as the next guess of the player. You also have a string which contains the "******" which represents the current guesses. So you simply do something to the effect of: Splat_String (Position_Guess) := Guessed_Character ; Then you redisplay the string and allow the player to continue. If you need more help than this, try posting some chunk of code that is causing you trouble. We're pretty helpful around here if you can be specific enough about what is not working for you. MDC -- Marin David Condic If you hurry you can, for a short time only, still find me at: Real Time & Embedded Systems, Propulsion Systems Analysis United Technologies, Pratt & Whitney, Large Military Engines M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600 ***To reply, remove "bogon" from the domain name.*** Visit my web page at: http://www.mcondic.com/