Ce que fait la commande
InsertString prend string (une chaîne), insert (une chaîne) et position (un entier), et rend une chaîne.
Syntaxe
InsertString(string string, insert string, position integer) → stringParamètres
| Nom | Type |
|---|---|
| string | string |
| insert | string |
| position | integer |
Chaque forme rend
string
Exemple · engendré
DO Print(InsertString("hello", "value", 1)) Sync()LOOPInsertString 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.