1 REM .---------------------------------------------------------------------.
2 REM | PITICO v0.1 (preview build) - Sample: HELLO 2025 C++ MASTERCLASS    |
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 PREC 0
20 CLS
30 Y=2024
40 IF Y=2024 THEN PRINTLN "O ano é ",Y,"."
50 I=5

100 PRINT I
110 GOSUB 500
120 PRINTLN
130 DEC I
140 SLEEP 1000
150 IF I=0 GOTO 200
160 GOTO 100

200 INC Y
210 IF 2025=Y THEN PRINT "Feliz";Y,", amigos da C++ MasterClass!";
220 END

500 T = I
510 PRINT "."
520 DEC T
530 IF T = 0 RETURN
540 GOTO 510
