Ce que fait la commande
ExtractRegularExpression prend regularExpression (un entier), text (une chaîne) et array (un void), et rend un entier.
Syntaxe
ExtractRegularExpression(regularExpression integer, text string, array void) → integerParamètres
| Nom | Type |
|---|---|
| regularExpression | integer |
| text | string |
| array | void |
Chaque forme rend
integer
Exemple · engendré
DO Print(ExtractRegularExpression(1, "hello", 0)) Sync()LOOPExtractRegularExpression 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.