Ce que fait la commande
ATan2Rad prend y (un flottant) et x (un flottant), et rend un flottant.
Syntaxe
ATan2Rad(y float, x float) → floatParamètres
| Nom | Type |
|---|---|
| y | float |
| x | float |
Chaque forme rend
float
Exemple · engendré
DO Print(ATan2Rad(120.0, 100.0)) Sync()LOOPATan2Rad est appelé et sa réponse est affichée à chaque image. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.