makeinteger(
DIGITS
)

The makeinteger( function makes a random integer with up to the specified # of digits (may be less).


Parameters

This function has one parameter:

digits – number of digits to generate.


Description

This function makes a random integer with up to the specified # of digits (may be less). Contributed by Chris Watts.

makeinteger(10) ☞ 111043565

Note: This function is equivalent to:

str(striptonum(places(rnd(),val(xdigits+2))))[2,min(xdigits,16)]

History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.