Created
April 2, 2013 15:48
-
-
Save tpolecat/5293282 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.tpolecat.basic | |
object Test extends App { | |
val count = new BASIC { | |
10 FOR I IN 1 TO 2 | |
15 FOR J IN 1 TO 3 | |
20 GOSUB 100 | |
25 NEXT J | |
30 NEXT I | |
40 END | |
100 PRINT "Current values:" | |
102 PRINT I | |
105 PRINT J | |
110 RETURN | |
} | |
count() | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment