Difference between revisions of "FindCnt"
From Wiki
Line 1: | Line 1: | ||
− | {{header|FindItem|ro|The | + | {{header|FindItem|ro|The #findCnt system variable contains the number of objects that matches what was searched for with the [[findItem]] command.}} |
− | + | == Example == | |
+ | <pre>.... | ||
loop: | loop: | ||
finditem %housesign G_5 | finditem %housesign G_5 | ||
Line 9: | Line 10: | ||
} | } | ||
goto loop | goto loop | ||
− | .... | + | ....</pre> |
{{footer}} | {{footer}} |
Revision as of 06:33, 27 August 2005
⇒ | The #findCnt system variable contains the number of objects that matches what was searched for with the findItem command. |
Example
.... loop: finditem %housesign G_5 if #findcnt < 1 { gosub placement } goto loop ....
See also
Main Page | Documentation |