Goto in spin
christopher
Posts: 31
hI,
It seems that there are no gotos or jump instructions in Spin. Is there a way to a acheive same apart from the if and case constructs?
Thank you
Chris
It seems that there are no gotos or jump instructions in Spin. Is there a way to a acheive same apart from the if and case constructs?
Thank you
Chris
Comments
Christopher
Repeat<
why does it need?
Something1
Something2
Pub Something1
'code
Pub Something2
'code
It is not good:
Pub Start
Something1
Something2
Pub Something1
'code
Pub Something2
'code
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester yet?
http://hometown.aol.com/newzed/index.html
·
If somevariable == 1
Something1 ' <
code will jump form here to the Pub or Pri Somthing1
In this case, and someone correct this if needed, but it aways returns to where it was called from.