SIN()-COS()-TAN()

Syntax:

a=SIN(winkel#)

Return 1000 x the sinus (cosinus / tangens) of an angle in DEG-mode (0-360°), since DiNGS works with integers.

Sample:

// Circle flight of an X
FOR alpha=0 TO 360
    PRINT “X”, 150*SIN(alpha)/1000 + 150, 150*COS(alpha)/1000 +150
    SHOWSCREEN
NEXT