Returns the sequence number of a project language from the
lang.dir
file < |
Synopsis
int getGlobalLangId(int langIdx); |
Parameters
Parameters |
Meaning |
langIdx |
Language index of a project language from the config file. Index starts with 0. |
Return value
If successful, the function returns the language number or in the event of an error, -1. |
Errors
If the required language is not available or an argument error. |
Description
Returns
the sequence number of a project language from the lang.dir
file in < |
Example Returns
the sequence number of the project language with the index 1 from the
lang.dir
file in < |
main() |
{ |
int result1; |
int id1 = 1; |
result1 = getGlobalLangId(id1); |
DebugN("The sequence number of the project language with the index 1 in the lang.dir file is: ", result1); |
} |
Assignment
Multi-language capability |
Availability
UI, CTRL, DP |
See also
V 3.11 SP1
Copyright