Difference between revisions of "CBASIC Compiler"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Reserved words)
(Reserved words: CBASIC 2)
Line 8: Line 8:
  
 
== Reserved words ==
 
== Reserved words ==
  ABS       EQ       LEN      POS      STOP
+
  ABS     AND       AS        ASC    ATN
  AND       EXP      LET      PRINT     STR$
+
  BUFF    CALL       CHAIN     CHR$   CLOSE
  AS        FEND     LINE     RANDOMIZE SUB
+
  COMMAND$ COMMON    CONCHAR%  CONSOLE CONSTAT%
  ASC      FILE     LOG       READ     TAB
+
COS     CREATE    DATA     DEF    DELETE
  ATN       FOR       LPRINTER RECL      TAN
+
  DIM     ELSE       END      EQ     EXP
  CALL      FRE       LT        REM       THEN
+
  FEND    FILE       FLOAT    FOR     FRE
  CHR$     GE        MATCH     REMARK    TO
+
  GE      GO        GOSUB    GOTO    GT
  CLOSE     GO       MID$     RENAME    USING
+
  IF       INITIALIZE INP       INPUT  INT
  CONSOLE  GOSUB     NE       RESTORE  VAL
+
  INT%    LE        LEFT$    LEN    LET
COS      GOTO      NEXT      RETURN    WEND
+
  LINE     LOG       LPRINTER  LT     MATCH
  CREATE    GT        NOT       RIGHT$   WHILE
+
  MID$     NE         NEXT      NOT    ON
  DATA     IF        ON        RND       WIDTH
+
  OPEN    OR        OUT       PEEK   POKE
  DEF      INP      OPEN      SGN      XOR
+
  POS     PRIN       RANDOMIZE READ    RECL
DELETE    INPUT     OR       SIN
+
  RECS     REM       REMARK    RENAME  RESTORE
  DIM      INT       OUT      SIZE
+
  RETURN  RIGHT$    RND       SADD    SAVEMEM
  ELSE     LE       PEEK     SQR
+
  SGN     SIN       SIZE     SQR     STEP
  END       LEFT$    POKE      STEP
+
  STOP    STR$       SUB      TAB    TAN
 +
THEN    TO        UCASE$   USING  VA
 +
VARPTR  WEND      WHILE     WIDTH
  
 
== Links ==
 
== Links ==

Revision as of 11:07, 9 November 2011

Cover of the CBASIC Compiler

BASIC compiler from Digital Research with GSX support

From wikipedia:

CBASIC is a compiled version of the BASIC programming language written for the CP/M operating system by Gordon Eubanks in 1976–77. It is an enhanced version of BASIC-E, his master's thesis project.

Reserved words

ABS      AND        AS        ASC     ATN
BUFF     CALL       CHAIN     CHR$    CLOSE
COMMAND$ COMMON     CONCHAR%  CONSOLE CONSTAT%
COS      CREATE     DATA      DEF     DELETE
DIM      ELSE       END       EQ      EXP
FEND     FILE       FLOAT     FOR     FRE
GE       GO         GOSUB     GOTO    GT
IF       INITIALIZE INP       INPUT   INT
INT%     LE         LEFT$     LEN     LET
LINE     LOG        LPRINTER  LT      MATCH
MID$     NE         NEXT      NOT     ON
OPEN     OR         OUT       PEEK    POKE
POS      PRIN       RANDOMIZE READ    RECL
RECS     REM        REMARK    RENAME  RESTORE
RETURN   RIGHT$     RND       SADD    SAVEMEM
SGN      SIN        SIZE      SQR     STEP
STOP     STR$       SUB       TAB     TAN
THEN     TO         UCASE$    USING   VA
VARPTR   WEND       WHILE     WIDTH

Links

CBASIC on Wikipedia

Corrupted binary