> #4DCODE which is always English (If, End if) regardless of the method 
> language and easier to maintain?

Yes, I wondered about that. I'm not certain how well it work in the
METHOD SET CODE context.

Ideally I would like something like the new syntax:
Count parameters:C259

or with a constant:
Carriage return:K15:38



Regards,

Wayne




On 2 July 2018 at 16:52, Keisuke Miyako via 4D_Tech
<4d_tech@lists.4d.com> wrote:
> As Patrick pointed out,
> the idea is to test the current language (use something like "True", which to 
> know to have different tokens)
> once you run METHOD SET CODE (well actually, you should run twice to tokenise 
> forward-referenced project methods)
> then keywords such as "If" will automatically reconvert when the method 
> language flips.
>
> ---
>
> another option is to set the %meta line in the code to inject in order to 
> explicitly declare the method language.
>
> ---
>
> but why not use #4DCODE which is always English (If, End if) regardless of 
> the method language and easier to maintain?
>
>
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to