mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-10 06:54:04 +09:00
basic: function sequencing block 'DO'
This commit is contained in:
3
assets/dotest.bas
Normal file
3
assets/dotest.bas
Normal file
@@ -0,0 +1,3 @@
|
||||
10 DEFUN KA(X)=IF X>2 THEN DO(PRINT("HAI");PRINT(X)) ELSE DO(PRINT("BYE");PRINT(X))
|
||||
20 INPUT N
|
||||
30 KA(N)
|
||||
Reference in New Issue
Block a user