You should not re-define "pick" before using ask.

pick is reserved.

Change it to my-pick or some other value.

See notes about protecting yourself from this problems.

----- Original Message ----- 
From: "Ed Dana" <[EMAIL PROTECTED]>
> 
> pick: random/seed 100.0
> 
> guess: ask {What is your guess? }
> 
> while [pick <> guess] [
>   if [pick < guess] [ print "To low"  ]
>   if [pick > guess] [ print "To high" ]
>   guess: input 
> ]
> 
> print pick
> 
> And the results I get:
>  >> do %guess.r
> What is your guess? ** Script Error: trim expected series argument of 
> type: series port
> ** Where: ask
> ** Near: trim either hide [input/hide] [input]
> 
>


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to