"Use of incorrect parameters for this comment"
Only happend this problem with #NUMERICAL parameter under AmigaOS3.9 under MorphOS and Windows it works fine, the other parameter #ALT works fine in the three systems.
Code: Select all
@DISPLAY {Title="Number Bug", Width=640, Height=480}
Number$=StringRequest("Write a number", "Enter a number:", "", #NUMERICAL, 5) ;This line doesn't work with AmigaOS3.9.
;Number$=StringRequest("Write a number", "Enter a number:", "", #ALL, 0, False) ;This line yeah.
TextOut(#CENTER, #CENTER, Number$)
EscapeQuit(True)
Repeat
WaitEvent
Forever