Инструменты пользователя

Инструменты сайта


en:documentation:lngread

Это старая версия документа!


LngRead

The command reads a string from the specified Total Commander language file.

LngRead <variable> <identifier> [<filename>]

Parameters

variableThe name of the variable in which the value will be written.
identifierID of the string in the language file.
filenameThe name of the language file to load. If omitted, the file loaded in the previous call is used.

Remarks

The first call of the command must be made with the «filename» parameter. The command caches a list of all the lines from the specified file. On subsequent calls, the filename may be omitted. When called with a different file name, the lines in the cache are replaced with the lines from the new file.

File encoding is determined automatically by the value in the «codepage» line.

If the specified identifier does not exist, the command returns an empty value and sets ERROR variable to 1.

en/documentation/lngread.1561122349.txt.gz · Последнее изменение: 2019/06/21 16:05 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki