Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,15 @@
!True BASIC maneja correctamente las expresiones booleanas,
!Pero no tiene un tipo booleano.
!La solución: crear constantes False y True y usarlas según sea necesario."
LET False = 0
LET True = 1
PRINT True; ", "; False
IF True = 0 THEN PRINT "TRUE" ELSE PRINT "FALSE"
IF True > False THEN PRINT "TRUE" ELSE PRINT "FALSE"
!Para el operador NOT, los paréntesis rodean la cláusula completa.
IF Not(2 < 1) then PRINT "TRUE" ELSE PRINT "FALSE"
END