4D v15English-US settings in Method editor |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v15
English-US settings in Method editor
|
Code sample in methods/formulas | |
4D v15 (default mode, all versions) | a:=12.50 |
b:=!2013-12-31! | |
Current date | |
4D v14 or 4D v15 (preference checked, US version, for instance) | a:=12.50 |
b:=!12/31/2013! | |
Current date | |
4D v14 or 4D v15 (preference checked, French version) | a:=12,50 |
b:=!31/12/2013! | |
Date du jour |
Note: In previous versions of 4D, and in 4D v15 when the new preference is checked, real and date formats are based on system settings.
Certain specific changes only concern French versions of 4D, which used to provide French names (for commands and constants) in the language, as well as in the online help and documentation. More information is provided in the French version of this manual.
In applications converted from previous versions, the English-US settings for 4D code in 4D v15 can sometimes require adaptations to be made in the context where code is interpreted on-the-fly and not tokenized, such as with EXECUTE FORMULA. This concerns the 4D development mode and also deployment products (4D in remote mode and merged 4D applications).
The following table lists the impacts in 4D v15 applications, depending on the operating language (other languages should be impacted in the same way as the US version):
Features | Impact when 4D application language is US | Impact when 4D application language is FR | Impact when 4D application language is DE |
Apply Formula Editor | in formulas: date format only | in formulas: command language (US) and date/time/dec separator | in formulas: date format + dec separator |
Quick Report | in formulas: date format only | in formulas: command language (US) and date/time/dec separator | in formulas: date format + dec separator |
4D Write | in formulas: date format only | in formulas: command language (US) and date/time/dec separator | in formulas: date format + dec separator |
4D View | none | in formulas (when using 4D commands, not 4D View commands): command language (US) | none |
PROCESS 4D TAGS | date format only | Commands (if not using :Cxxx) date/time/dec separator | date format + dec separator |
EXECUTE FORMULA | date format only | command language (US) and date/time/dec separator | date format + dec separator |
METHOD GET CODE/METHOD SET CODE | date format only | command language (US) and date/time/dec separator | date format + dec separator |
Since the Use regional system settings preference is local to the machine, it must be set on each computer where the 4D application is run if you want to use regional settings. In the context of merged applications, you have to edit the 4D v15 preference file on each local machine and set the "use_localized_language" key to "true".
Note: Solutions for using regional settings in deployed applications are provided in the French version of this manual.
Product: 4D
Theme: Design Mode
4D v15 - Upgrade (R-release edition) ( 4D v15)
Parent of : English-US settings in Method editor ( 4D v15)