RosettaCodeData/Task/Flow-control-structures/PureBasic/flow-control-structures-3.purebasic

13 lines
180 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
Gosub MySub
Lable2:
; The program will jump here, then 'end'
End
MySub:
If #PI>3
FakeReturn ; This will simulate the function of a normal "Return".
Goto Lable2
EndIf
Return