Is "End" a SpiderBasic keyword?
Posted: Wed May 20, 2015 6:37 pm
Hi,
in PureBasic, this is a valid program:
When I write that code in the SpiderBasic IDE 1.02, it looks fine as well.
Especially, "End" is highlighted as I expected, since I assumed that it is a keyword.
But when trying to run that program, SpiderBasic complains and says:
However, "End" is nowhere mentioned on that page.
All this is a bit confusing, I think there are probably some leftovers from the PB IDE and help.
If "End" actually is not a SpiderBasic keyword, how can I terminate a program, e.g. in case of an error?
in PureBasic, this is a valid program:
Code: Select all
Error = 1
If Error <> 0
Debug "Error"
End
EndIf
Especially, "End" is highlighted as I expected, since I assumed that it is a keyword.
But when trying to run that program, SpiderBasic complains and says:
When I put the cursor on "End" and press [F1], then the Spiderbasic help is opened, showing the page "Other Commands".Line 5: Syntax error.
However, "End" is nowhere mentioned on that page.

All this is a bit confusing, I think there are probably some leftovers from the PB IDE and help.
If "End" actually is not a SpiderBasic keyword, how can I terminate a program, e.g. in case of an error?