LSTR()

The LSTR() operator returns a localized string.

Syntax

LSTR(str-expr)
  1. str-expr is a string expression.

Usage

The LSTR() operator returns a localized string corresponding to the identifier passed as parameter.

Normally localized strings are automatically replaced when using the %"ident" notation in the source code. When the localized string identifier is not known at compile time, use the LSTR() function.

Example

MAIN
  DISPLAY LSTR ("str"||123)  -- loads string 'str123'
END MAIN