Martin Scott Consulting | WirelessMail Overview
 

Number list generator
Source: Jamie Magee, 09/20/2002
Implementation: Modify constantsServer:
Code Type: FormulaRequired Client:
Description
Generates 1,2,3,4,5,6...N in a list
Limitations

Code
REM "set _max = the last number it should generate";

_max := 20;
_a :="0":"1":"2":"3":"4":"5":"6":"7":"8":"9";
REM "generate 001..., up to a max value of 999";
_b := @Trim(@Replace(_a*+_a*+_a; "000"; ""));
@Subset(_b; _max);