You have to place the commands in the PARAMETERS script, or in the MASTER script.
You can use the VALUES command, with the CUSTOM keyword, to let the user input a desired value, and the RANGE limitation, that revert this value if is out of the allowed field.
Or something like this:
IF param > 100 THEN
PARAMETERS param = 100
ELSE
IF PARAMETERS < 10 THEN
PARAMETERS param = 10
ENDIF
ENDIF
I suggest NOT using the alert window, or not abusing of it, as it is very annoyng for the user.
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________