REM *********************************************************** REM **** variable defines
for all programs
******************** REM *********************************************************** '_DEFINE S AS STRING : _DEFINE I AS INTEGER :' _DEFINE D AS DOUBLE
'_DEFINE X AS _INTEGER64 : _DEFINE Z AS _UNSIGNED _INTEGER64
'_DEFINE L AS LONG : _DEFINE Y AS _UNSIGNED INTEGER
'_DEFINE Z AS _UNSIGNED LONG
REM ***********************************************************
REM *********************************************************** REM **** opening
screen *************************************** REM *********************************************************** opnscr:
'_FULLSCREEN 'full screen optional
icstart
= 0: icend
= 8 * ATN(1)ixrot = 6: iyrot = 60: iscale = 4
irow = 1
x
= 300 + (iscale
* 40 - (irow
* ixrot
)) * COS(i
) y
= 200 + (iscale
* 40 - (irow
* iyrot
)) * SIN(i
) icnt = icnt + 1