SCROLLBARSET throws an recoverable error for most of its inputs. However, if the range is invalid (that is, if the high number is less than the low number) it throws a recoverable error and then ignores what :ERRACT outputs.
1) MAKE "ERRACT [PAUSE]
2) WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 []
3) SCROLLBARCREATE "mywindow "myscroll 0 25 70 25 [PRINT SCROLLBARGET "myscroll]
4) SCROLLBARSET "myscroll 100 0 100
5) Press "CONTINUE 200" in the PAUSE window
6) Move the scrollbar around
What Happens:
It only prints 100, indicating that it's using the range 100-100
Expected Result:
Ideally, this would print numbers from 100-200, indicating that an invalid range is a recoverable error. It's also acceptable for it to say "I don't know what to do with 200" and print numbers from 1 to 100, indicating that the error is not recoverable.
This is fixed by [r5478]. The fix will be available in FMSLogo 8.0.0.
Related
Commit: [r5478]