Command(s) with column and C-number

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Command(s) with column and C-number

4D Tech mailing list
Hi All,

What is the benefit/advantage of using commands followed by a column and a (unique) number?

Examples:
        OB Get:C1224(…)
        C_LONGINT:C283
        Open window:C153(…)

Thanks

Cheers
Jörg
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Command(s) with column and C-number

4D Tech mailing list
Hi,

I would say that it helps you if you share code with someone which is not
working with the same 'language', or between different version of 4D.
Sometimes, commands are renamed and using the token (:Cxxxx) force to update
the syntax.
It is also the same for constants ;-)

Patrick



-----
Patrick EMANUEL
------------------------------------------------------------
Administrator
www.association-qualisoft.eu
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Command(s) with column and C-number

4D Tech mailing list
Thanks Patrick.
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Command(s) with column and C-number

4D Tech mailing list


> Le 21 nov. 2019 à 07:56, Jörg Knebel via 4D_Tech <[hidden email]> a écrit :
>
> Thanks Patrick.

Hi Jörg,
beside code sharing, it's important to tokenise your own formulas if they embed commands or constants "as text".

For example, a calculated column in a listbox using hardcoded command and constant. In a future 4D version, their names may change. If the formula is not tokenised, execution will fail.

--
Arnaud de Montard



**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Command(s) with column and C-number

4D Tech mailing list
Hi Arnaud,

You're absolutely right. Thanks to remind me it and figure out this!



-----
Patrick EMANUEL
------------------------------------------------------------
Administrator
www.association-qualisoft.eu
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Command(s) with column and C-number

4D Tech mailing list
In reply to this post by 4D Tech mailing list
Hi Arnaud,


> On 21 Nov 2019, at 22:08 AEDT, Arnaud init5 imap via 4D_Tech <[hidden email]> wrote:
>
> beside code sharing, it's important to tokenise your own formulas if they embed commands or constants "as text".

Thanks for the additional information.

Cheers


**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************