Take Command / TCC Help v. 13.03

@RANDOM

Hide Navigation Pane

@RANDOM

Previous topic Next topic No directory for this topic No expanding text in this topic  

@RANDOM

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

@RANDOM[min, max]:  Returns a pseudo random integer value between min and max, inclusive. The random number generator is initialized from the system clock the first time it is used after TCC starts and will therefore produce a different sequence of numbers each time you use it. Min and max are 32-bit signed integers, so the allowable range is -2,147,483,647 to 2,147,483,647.

 

Examples:

 

echo %@random[0,1]

echo %@random[-10,10]

 

Comments (...)