Navigation:  Macro > Instructions > Modification du dessin >

GROUP SEARCH NEXT

AiM Services
Previous pageReturn to chapter overviewNext page

GROUP SEARCH NEXT From;Num

Cette instruction recherche, dans la base de donnée depuis l'entité 'From', la première entité appartenant au groupe et retourne son numéro dans la variable 'Num'. Si aucune entité n'appartient au groupe la variable 'Num' est initialisée à zéro.
 

Exemple

 From = 1
 LOOP
 GROUP SEARCH NEXT From;Num
 EXIT IF Num=0
 PRINT Num
 From=Num+1
 END LOOP