You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Baysick should support subroutines. They would work something like this:
```
10 PRINT “Subroutine test”
20 LET (‘a := 0)
30 PRINT "Variable is " % ’a // prints 0
40 GOSUB inc
50 PRINT "Variable is " % ’a // prints 1
60 SUB “inc”
70 LET (’a := ’a + 1)
80 RETURN
90 GOSUB 60
100 PRINT "Variable is " % ’a // prints 2
110 END
```
-m
The text was updated successfully, but these errors were encountered:
Baysick should support subroutines. They would work something like this:
```
10 PRINT “Subroutine test”
20 LET (‘a := 0)
30 PRINT "Variable is " % ’a // prints 0
40 GOSUB inc
50 PRINT "Variable is " % ’a // prints 1
60 SUB “inc”
70 LET (’a := ’a + 1)
80 RETURN
90 GOSUB 60
100 PRINT "Variable is " % ’a // prints 2
110 END
```
-m
The text was updated successfully, but these errors were encountered: