Page 1 of 1 1
Topic Options
#8600 - 2001-05-10 10:43 AM RND generates the same all the time
Anonymous
Unregistered


Hi,

i wrote following test script and i wonder why the script generates the same numbers all the time. Is the error in my my head or in KiXtart?

code:

$Count = 0
While
$Count < 10
$X = Rnd ()
? $X
$Count = $Count + 1
Loop
Get $

Thanks for any reply.

Tom

Top
#8601 - 2001-05-10 11:09 AM Re: RND generates the same all the time
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
Check this post for more info on RND()

cj

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.246 seconds in which 0.187 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org