makeinteger(
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

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.