Ce que fait la commande
ParticlesDirectionY prend ID (un entier), et rend un flottant.
Syntaxe
ParticlesDirectionY(ID integer) → floatParamètres
| Nom | Type |
|---|---|
| ID | integer |
Chaque forme rend
float
Exemple · engendré
DO Print(ParticlesDirectionY(1)) Sync()LOOPParticlesDirectionY 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.