Home > database > See a others write about students test code, including a is the random serial number. Do not underst
See a others write about students test code, including a is the random serial number. Do not underst
Time:09-21
Close all & amp; & Close all types of files & & The following program segment random sequence number is created for the library name USE XMK. DBF & amp; & Using XMK. DBF file The DO WHILE. Not. EOF () The REPLACE of SJH WITH INT (RAND () * 10000) The SKIP ENDDO & amp; & End the DO function USE & amp; & Close the XMK. DBF
The random sequence number is created for the library name here is what mean? What's the use? I don't understand. Rows venue is according to the last exam, why with random serial number?
CodePudding user response:
INT (RAND () * 10000) 1. First of all, the RAND () resulting from 0 to 0.9999999... The numerical, 2. Second, the RAND () * 10000, a 0 to 9999.999... 3. Again, the INT (RAND () * 10000, 0 to 9999
CodePudding user response:
In fact, the above are not truly random, is there are a lot of repetition.
CodePudding user response:
VFP this function is not really a random number, just repeat the question, his law of random Numbers generated (order) is unchanged,