setLangString()

Sets an entry of a langString to a string.

Synopsis

int setLangString(langString &aLangString, int index, string aText);

Parameters

Parameter Description
&aLangString The LangString to be modified.
index Index of a new entry. The index starts at 0.
aText Text to be inserted.

Return value

The function returns 0 if it was successfully executed and in the event of an error -1.

Errors

Missing or incorrect arguments.

Description

Sets the entry of a aLangString at the position index to aText.

Example

see getNoOfLangs()

Assignment

Multilingual functionality

Availability

CTRL