On Oct 21, 2016, at 1:49 PM, Bob Miller wrote:
> I've puzzled over this as I am not familiar with what "True:C214"
> does....I did some digging in the "Operators" section of the language
> manual, but I either missed or could not find the : (colon) operator.
> Maybe this is a typo; if not, what does the : (colon) operator do, and
> what does "True:C214" do?
It is the command number. It is supposed to make it easier to localize code in
text format that could run in different languages.
Example: EXECUTE FORMULA("Year of:25 ([Products:5]Creation_Date:2])+$add”)
Makes it easy to read and it will work correctly if run with a French version
of 4D.
In the past you had to do something like this: EXECUTE FORMULA(Command
name(25)+"([Products]Creation_Date])+$add”)
Note that using this new syntax when referencing table names and field names
will allow those to continue to work even if you change the table or field
name. Added benefit it also works when using virtual structure table and field
names instead of the actual names.
Tim
********************************************
Tim Nevels
Innovative Solutions
785-749-3444
[email protected]
********************************************
**********************************************************************
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]
**********************************************************************