AH'TALIQUAE ENGLISH/Examples
Jump to navigation
Jump to search
Main page: AH'TALIQUAE ENGLISH
Truth-machine
START WITH 0.1
DECLARE A VARIABLE truth AND INITIALIZE IT TO NIL
INPUT truth WITH DEFAULT_PROMPT AS PROMPT
IF truth IS TRUE THEN:
LOOP THE CODES UNTIL truth IS NOT TRUE:
PRINT "1" WITHOUT NEWLINE
ENDLOOP
ENDIF
PRINT "0" WITHOUT NEWLINE
THE END