Re: Command numbers and names and using Execute

2017-09-22 Thread Nigel Greenlee via 4D_Tech
Pat An excellent point. Where i think that won't work though-if i am understanding correctly is this... Lets say i write the following piece of very odd code(why you would write this i do not know but its an example).. if(themoonisblue) $_t_ExecuteText:=(“Array Text($_at_MyText;0)”) else

Re: Command numbers and names and using Execute

2017-09-21 Thread Pat Bensky via 4D_Tech
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

Re: Command numbers and names and using Execute

2017-09-21 Thread Arnaud de Montard via 4D_Tech
> Le 21 sept. 2017 à 17:51, Nigel Greenlee via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > For ($i;1;1) //well i know there are less than 1 commands for the > next few years at least:) you can exit the loop when ok = 0, see here:

Re: Command numbers and names and using Execute

2017-09-21 Thread Paul Lovejoy via 4D_Tech
Thanks! > Le 21 sept. 2017 à 18:05, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > ARRAY TEXT is command #222 so you could do > > EXECUTE FORMULA(":C222(...)") > > C must be uppercase. > > c.f. > >

Re: Command numbers and names and using Execute

2017-09-21 Thread Paul Lovejoy via 4D_Tech
Thanks Nigel! > Le 21 sept. 2017 à 17:51, Nigel Greenlee via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Paul. > > When i was writing my rather excellent(even though i say so myself) auto > variable declaring code I wanted the command and command numbers. I just > looked up what i did >

Re: Command numbers and names and using Execute

2017-09-21 Thread Keisuke Miyako via 4D_Tech
ARRAY TEXT is command #222 so you could do EXECUTE FORMULA(":C222(...)") C must be uppercase. c.f. http://doc.4d.com/4Dv16/4D/16.2/Using-tokens-in-formulas.300-3432926.en.html > 2017/09/22 0:34、Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> のメール: > > I want to use the Execute command in a

Command numbers and names and using Execute

2017-09-21 Thread Paul Lovejoy via 4D_Tech
Hi everyone, I want to use the Execute command in a multi-lingual environment use it to execute 4D commands such as ARRAY TEXT(). Of course, this would fail as is on a French version of 4D. I believe there’s a way to use Execute() with the internal command numbers but I can’t find anything in