Huh? As you have shown it here, the print in question is coded AFTER the
second ASK, not before. If you move that second ask down below the print,
you get just what you desire.
Russ
-------------------------------------
At 07:45 PM 10/11/99 -0700, you wrote:
>In the program below, the print stmt: print join "Hello" name
>does not occur until after the 2nd ask even though it is coded before the
>2nd ask
>
>REBOL [
> Title: "Guessing the secret word"
> Date: 11-Oct-99
> Author: "T.M. Brannon"
> Email: [EMAIL PROTECTED]
> File: %guessing-word.r
> Purpose: {
> Play a guessing game
> }
> Category: [file script utility]
>]
>
>
>secret-word: "llama"
>
>name: ask "What is your name? "
>guess: ask "What is the secret word? "
>
>either equal? name "Randal"
> [ print "Hi Randal! How good of you to be here!" ]
> [ print join "Hello " name "." ]
>
>either equal? guess secret-word
> [ print "That's it!!!! You got it!!!" ]
> [ print "You loser. That's just not right." ]
>
>
>