Probably an old, old, well know tip.. but I still use it a alot, so I thought a newbie could use:
To generate a list of numbers 0 - 999
numbers := "0" : "1" : "2" : "3" : "4" : "5" : "6" : "7" : "8" : "9";
num999 := @Text(@TextToNumber((numbers *+numbers) *+ numbers));
@Prompt([OkCancelList] : [NoSort];"Selection box";"last 25 numbers";"";num999)
To generate a list of numbers 0 - 99
numbers := "0" : "1" : "2" : "3" : "4" : "5" : "6" : "7" : "8" : "9";
num99 := @Text(@TextToNumber(numbers *+numbers));
@Prompt([OkCancelList] : [NoSort];"Selection box";"last 25 numbers";"";num99)
The times, they are a-changin....
17 hours ago

2 comments:
I saw this when you posted but didn't "register." I just came across it again and thought I'd share the way I've built number lists since the beginning of 6 that may even be a bit easier.
For a list of 25 numbers - 1-25:
@For(n := 1; n <= 25; n := n + 1; temp := temp + @Text(n) + ";");
@Explode(temp)
That works too. This is old, before we had the @For..
Thanks for stopping by. Sorry I didn't respond earlier..
Post a Comment