This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
How do I get a random letter or a random number in small basic. I can only find them separately but I need it to be one command.
Thanks
you can do:
txt="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
char=Text.GetSubtext(txt,Math.GetRandomNumber(36),1)
You can even add the lower case letters and select one of the 62.
Jan [ WhTurner ] The Netherlands
Thank you this really helped!