Control of flow in Spiderbasic
Control of flow in Spiderbasic
It appears that the Gosub control structure is not implemented in Spiderbasic. Is there a summary somewhere of the various differences between coding in Purebasic and Spiderbasic that would help me in planning how to re-write my Basic code in Spiderbasic? If one wants to call a function or routine based on evaluating conditions in the program is using a Procedure the proper technique?
Re: Control of flow in Spiderbasic
Yes, Gosub/Goto are not supported in SpiderBasic as Javascript doesn't support it either. It's not a bad thing, as it other leads to hard to maintain code, so using a procedure should achieve the same goal and will be compatiable with both PB and SB.