1 REM .---------------------------------------------------------------------.
2 REM | PITICO v0.1 (preview build) - Sample: SLEEP TEST                    |
3 REM | Since the current version does not support loading code from files, |
4 REM | you can do the following to run this code in PITICO:                |
5 REM | 1. Copy everything from this file to the clipboard;                 |
6 REM | 2. Reset the interpreter's memory (CLEAR statement);                |
7 REM | 3. Paste the clipboard contents inside PITICO;                      |
8 REM | 4. Call RUN statement.                                              |
9 REM '---------------------------------------------------------------------'
10 CLS
15 ABOUT
20 LIST
25 PRINT "[BEGIN]"
30 F=50
40 X=1
50 PRINT "."
60 SLEEP 100
70 IF X=F THEN GOTO 100
80 INC X
90 GOTO 50
99 REM A PRINT STATEMENT THAT ENDS WITH A COMMA/SEMICOLON BEHAVES LIKE PRINTLN.
100 PRINT "[END]",
110 END
