FYI - in V15 and later you don't need to bother with the command numbers any more:
" Compatibility note: Since a command name may vary from one 4D version to the next (commands renamed), this command was used in previous versions of the program to designate a command directly by means of its number, especially in non-tokenized portions of code. This need has diminished over time as 4D continues to evolve because, for non-tokenized statements (formulas), 4D now provides a token syntax. This syntax allows you to avoid potential problems due to variations in command names as well as other elements such as tables, while still being able to type these names in a legible manner (for more information about this point, refer to the Using tokens in formulas section). Furthermore, by default, the English language version is used starting with 4D v15; however, the "Use regional system settings" option on the Methods Page of the Preferences allows you to continue using the French language in a French version of 4D." HTH! Pat On 21 September 2017 at 17:39, Arnaud de Montard via 4D_Tech < [email protected]> wrote: > > > Le 21 sept. 2017 à 17:51, Nigel Greenlee via 4D_Tech < > [email protected]> a écrit : > > > > For ($i;1;10000) //well i know there are less than 10000 commands for > the next few years at least:) > > you can exit the loop when ok = 0, see here: > <http://forums.4d.com/Post/FR/16080071/3/16455667#16455667> > > -- > Arnaud > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** > -- ************************************************* CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky ************************************************* ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

