Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
command_reference [2019/10/07 11:51] – neils | command_reference [2020/08/13 07:03] – neils | ||
---|---|---|---|
Line 2: | Line 2: | ||
The following is the list of all commands, functions and directives supported by the current version of **XC=BASIC**, | The following is the list of all commands, functions and directives supported by the current version of **XC=BASIC**, | ||
+ | |||
+ | ===== Core commands ===== | ||
< | < | ||
Line 25: | Line 27: | ||
* [[FERR|FERR()]] | * [[FERR|FERR()]] | ||
* [[FORNEXT|FOR ... NEXT]] | * [[FORNEXT|FOR ... NEXT]] | ||
+ | * [[fun|FUN ... ENDFUN]] | ||
* [[GOSUBRETURN|GOSUB ... RETURN]] | * [[GOSUBRETURN|GOSUB ... RETURN]] | ||
* [[GOTO|GOTO]] | * [[GOTO|GOTO]] | ||
Line 67: | Line 70: | ||
* [[WATCH|WATCH]] | * [[WATCH|WATCH]] | ||
* [[while|WHILE ... ENDWHILE]] | * [[while|WHILE ... ENDWHILE]] | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Commands added by extensions ===== | ||
+ | |||
+ | The following commands are provided by specific extensions that must be included in your project before using them. You can read more about extensions [[extensions|here]]. | ||
+ | |||
+ | ==== Sprites ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | * [[SPR_BEHINDBG|SPR_BEHINDBG]] | ||
+ | * [[SPR_CLEARDBLHEIGHT|SPR_CLEARDBLHEIGHT]] | ||
+ | * [[SPR_CLEARDBLWIDTH|SPR_CLEARDBLWIDTH]] | ||
+ | * [[SPR_DATA_COLLISION|SPR_DATA_COLLISION()]] | ||
+ | * [[SPR_DISABLE|SPR_DISABLE]] | ||
+ | * [[SPR_ENABLE|SPR_ENABLE]] | ||
+ | * [[SPR_OVERBG|SPR_OVERBG]] | ||
+ | * [[SPR_SETCOLOR|SPR_SETCOLOR]] | ||
+ | * [[SPR_SETDBLHEIGHT|SPR_SETDBLHEIGHT]] | ||
+ | * [[SPR_SETDBLWIDTH|SPR_SETDBLWIDTH]] | ||
+ | * [[SPR_SETHIRES|SPR_SETHIRES]] | ||
+ | * [[SPR_SETMULTI|SPR_SETMULTI]] | ||
+ | * [[SPR_SETPOS|SPR_SETPOS]] | ||
+ | * [[SPR_SETPOSX|SPR_SETPOSX]] | ||
+ | * [[SPR_SETPOSY|SPR_SETPOSY]] | ||
+ | * [[SPR_SETSHAPE|SPR_SETSHAPE]] | ||
+ | * [[SPR_SPR_COLLISION|SPR_SPR_COLLISION()]] | ||
+ | |||
+ | < | ||
+ | |||
+ | ==== Joystick ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | * [[JOY_1_UP|JOY_1_UP()]] | ||
+ | * [[JOY_1_DOWN|JOY_1_DOWN()]] | ||
+ | * [[JOY_1_LEFT|JOY_1_LEFT()]] | ||
+ | * [[JOY_1_RIGHT|JOY_1_RIGHT()]] | ||
+ | * [[JOY_1_FIRE|JOY_1_FIRE()]] | ||
+ | * [[JOY_2_UP|JOY_2_UP()]] | ||
+ | * [[JOY_2_DOWN|JOY_2_DOWN()]] | ||
+ | * [[JOY_2_LEFT|JOY_2_LEFT()]] | ||
+ | * [[JOY_2_RIGHT|JOY_2_RIGHT()]] | ||
+ | * [[JOY_2_FIRE|JOY_2_FIRE()]] | ||
< | < |