Details
Features
Contents
Reviews
Contains NoteCards with scripts
Sometimes we need to be able to determine if a reply to a Textbox is a number, the normal manner is to use a loop, this creates 2 problems, the time the loop runs depends on the length of the reply string and a loop hijacks your script until it is done.
So here we have a script where the length of the string is not influential on the script run time and it does not hijack your script while it runs, it does NOT use a Loop.
These scripts will analyse a string input and determine if it is a number or not.
If reviews are posted I will put up some more scripts.
If you consider this useful please consider a donation.
Oct 2025
- To Detect if Input is a Number
- The ONLY non loop NaN Function in LSL
- In Script Demo
