00001
00008 statement START();
00009
00012 statement END();
00013
00016 statement VAR();
00017
00020 statement TYPE();
00021
00026 statement PRINT( expression );
00027
00032 statement WRITE( expression );
00033
00037 statement DELAY( expression );
00038
00042 statement INPUT( expression );
00043
00049 statement WHILE( condition ) <statement(s)>;
00050
00057 statement IF( condition ) <statement(s)> THEN ELSE <statement(s)>;
00058
00067 statement FOR( VAR counterVariable = startValue TO endValue STEP increment ) <statement(s)>;
00068
00069
00078 statement REPEAT( startValue TO endValue STEP increment ) <statement(s)>;
00079
00086 statement FUNCTION( <parameterList...> ) statement(s);
00087
00093 statement RETURN( expression );
00094
00099 statement BREAK();
00100
00107 statement SCREEN( <width,height,vsynch> );
00108
00113 statement SCREENFLIP(<fps>);
00114
00122 statement CLS( <red,green,blue,alpha> );
00123
00135 statement DRAWLINE( x1,y1,x2,y2,<red,green,blue,alpha> )<,+,+>;
00136
00149 statement DRAWELLIPSE( x,y,radius1,radius2,angleBias,<red,green,blue,alpha> )<+>;
00150
00159 statement DRAWSTRING( x,y,<red,green,blue,alpha>,text );
00160
00169 statement SETCOLOR( red,green,blue,alpha );
00170
00175 statement SETBLENDMODE( mode );
00176
00188 statement DRAWFANCYLINE( x1,y1,x2,y2,thickness,type,<red,green,blue,alpha> );
00189
00190
00198 statement LOADIMAGE( path, array, index );
00199
00209 statement DRAWIMAGE( x, y,<red,green,blue,alpha> ),flipMode, array[index];
00210
00224 statement DRAWTRANSFORMEDIMAGE( x, y, angle,scaleX,scaleY,<red,green,blue,alpha> ),flipMode, array[index];
00225
00240 statement DRAWSCROLLEDIMAGE( x, y,scaleX,scaleY,u,v,<red,green,blue,alpha> ),flipMode, array[index];
00241
00249 statement GETSUBIMAGE( x1, y1, x2, y2, imageIndex),imageArray, arrayIndex;
00250
00253 statement SOUNDINIT();
00254
00259 statement SOUNDLOAD( stringID, isLooping );
00260
00265 statement SOUNDPLAY( stringID );
00266
00271 statement SOUNDPAUSE( stringID );
00272
00277 statement SOUNDSTOP( stringID );
00278
00283 statement SWAP( a, b );
00284
00288 statement FREE( variablenamee );
00289
00295 statement EXIT( expression );
00296
00300 function KEYDOWN( expression );
00301
00304 function TIMER();
00305
00311 function FORMAT( string, expression );
00312
00319 function SUBSTRING( string, begin<, end> );
00320
00325 function SPLIT( string, regex );
00326
00331 function VALASCII( string, index );
00332
00336 function VAL( string );
00337
00341 function ISDIGIT( string );
00342
00346 function ISLETTER( string );
00347
00351 function STRINGLENGTH( string );
00352
00356 function LOWERCASE( string );
00357
00361 function UPPERCASE( string );
00362
00368 function SIZEOF( array<, dimension> );
00369
00374 function CONTAINSKEY( string, associativearray );
00375
00378 function MOUSEX();
00379
00382 function MOUSEY();
00383
00387 function MOUSEBUTTONDOWN( buttonID );
00388
00391 function WINDOWCLOSED();
00392
00396 function SIN( expression );
00397
00401 function COS( expression );
00402
00406 function TAN( expression );
00407
00411 function ASIN( expression );
00412
00416 function ACOS( expression );
00417
00421 function ATAN( expression );
00422
00427 function ATAN2( y, x );
00428
00432 function CEIL( expression );
00433
00437 function FLOOR( expression );
00438
00442 function ROUND( expression );
00443
00447 function EXP( expression );
00448
00449
00453 function LOG( expression );
00454
00458 function RANDOM( expression );
00459
00463 function ABS( expression );
00464
00468 function SQRT( expression );
00469
00473 function INT( expression );
00474
00479 function BOXINTERSECTS( ax1, ay1, ax2, ay2,
00480 bx1, by1, bx2, by2 );
00481
00488 function CIRCLEINTERSECTS( ax, ay, aradius,
00489 bx, by, bradius );
00490