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 revision | ||
call [2019/05/16 08:11] – neils | call [2019/12/10 07:56] (current) – neils | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== CALL ====== | ====== CALL ====== | ||
+ | |||
+ | //Since version 0.9// | ||
Syntax: | Syntax: | ||
- | call < | + | |
The '' | The '' | ||
Line 9: | Line 11: | ||
See [[proc|PROC ... ENDPROC]] for more information and examples. | See [[proc|PROC ... ENDPROC]] for more information and examples. | ||
+ | |||
+ | Since version 2.2, the '' | ||
+ | |||
+ | const LT_BLUE = 14 | ||
+ | | ||
+ | rem ** Clears the screen and sets color ** | ||
+ | proc cls(color!) | ||
+ | memset $0400, 1000, 32 | ||
+ | memset $d800, 1000, color! | ||
+ | endproc | ||
+ | | ||
+ | rem ** Call the routine ** | ||
+ | cls LT_BLUE | ||
+ | print " | ||
+ |