Numerical or non-numerical?: In an InputScript I want to check whether a value entered by the user is numerical. I know that there is an option "-numerical" in the InputField command, but I want to allow non-numerical values as well.

If the InputField size is not more than 14 characters you can do it via the following calculation:

Set V[y] "1&V[varx]" + 0

if V[y=1&V[varx]]

  // numerical


For larger fields you need to test the characters one by one, using a loop with goto/label and substring notation.