From: d83@ath.forthnet.gr (Don Schullian)
Subject: Re: Is There A Way to....?
On 19 May 1998 16:41:18 GMT, "Peter.waller"
wrote:
>I would like to use multiple variables that will change in cirten
>instances....
>do
>s=s+66
>x=s
>loop until s > 10000
>I would like the variable "x" to be different every time...
>is there a way
DO
INCR S%, RND(1,66)
X% = S%
LOOP UNTIL S% > 10000
____ _ ____ ____ _____
| _ \ / \ / ___) __ | ___)(_ _)
| |_) / _ \ \____\/ \| _) | |
|____//_/ \_\(____/\__/|_| |_|
Reply to: d83@ath.forthnet.gr
www.basicguru.com/schullian
*** QwkNews (tm) v2.1
* [TN71] alt.lang.powerbasic POWER_BAS Gateway
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/560.2)
|