Files
pplus-core/tests/corpus/37-static-errors.pseudo
T
2026-10-05 03:03:38 +00:00

15 lines
273 B
Plaintext

// What the checker refuses before anything runs. Each line below is one mistake the guide names.
// ERRORS: 5
DECLARE T : STRING
DECLARE N : INTEGER
T <- "GATTACA"
N <- 7 / 2
T[0] <- 'C'
IF T[0] == "G" THEN
OUTPUT "g"
ENDIF
FOR I <- 0 TO 3
I <- I + 1
NEXT I
N = 5