RosettaCodeData/Task/Flow-control-structures/PureBasic/flow-control-structures-2.basic

9 lines
132 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
X=1: Y=2
Gosub Calc
;X will now equal 7
End
Calc:
X+3*Y
Return ; Returns to the point in the code where the Gosub jumped from