DictionaryExists

Famille: Dictionary · Une forme

Ce que fait la commande

DictionaryExists répond à une question : il dit si un objet Dictionary existe encore. Il prend dictionary (un entier), et rend un entier.

Syntaxe

DictionaryExists(dictionary integer) → integer

Paramètres

NomType
dictionaryinteger

Chaque forme rend

integer

Exemple · engendré

DO  Print(DictionaryExists(1))  Sync()LOOP

DictionaryExists 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.

17 commandes dans Dictionary