『第
2 楼』:
4DOS 本来就是在 DOS 下运行的,在 Win9X 下也可以,但恰恰是最好不要在 WinNTs 下运行。
4DOS 产生一个随机数的函数是 @random
Quote: | 4DOS Help Topic: @RANDOM
@RANDOM[min, max]: Returns a "pseudo-random" value between min and max,
inclusive. Min, max, and the returned value are all integers.
The pseudo-random number generator is initialized from the system clock the
first time it is used after 4DOS starts, so it will produce a different
sequence of random numbers each time you use it. It can be called up to
115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,
457,584,007,913,129,639,935 (2^256-1) times before repeating the sequence of
pseudo-random numbers it produces. The Xorshift7 generator proposed in the
paper "On the Xorshift Random Number Generators" by Francois Panneton and
Pierre L'Ecuyer is used to generate the pseudo-random numbers. |
|
|