![]() |
Macro To Display Random Numbers Using ?Random |
The information in this document applies to:
WordPerfect® 6.0 for DOS
Problem
Solutions: The following macro can be used to display random numbers in WP 6.0: Assign(Num;?Random* 10) Num:=Integer(Num) Type(Num) The number after the asterisk (*) is the number the user wants the random number to be between. In the example above, a random number between 0 and 10 will display. The ?Random macro token can be used to write a macro to return a random number. WP 6.0, however, does not ship with an actual macro that will return a random macro. |
Answer:
Details:
Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER. |