amount = StringRequest("How many to display?", "dont know how many", 100, #NUMERICAL)
If amount > 100 Then DebugPrint("over 100")
error: Attempting to compare a string with a number
Easy to fix by using ToNumber(Amount), but I wonder if it would make sense to return number instead of a string when using #NUMERICAL?
Strinrequest #NUMBERICAL to return number instead of string
- airsoftsoftwair
- Posts: 6034
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact: