Show: Object Pascal C++
Display Preferences

System.SysUtils.FmtLoadStr

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function FmtLoadStr(Ident: NativeUInt; const Args: array of const): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall FmtLoadStr(NativeUInt Ident, System::TVarRec const *Args, const int Args_High);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Returns formatted output using a resourced format string.

FmtLoadStr loads a string from a program's resource string table and uses that string, plus an array of arguments, as a parameter to Format.

Ident is the string resource ID of the desired format string.

Args is an array of arguments that replaces the format specifiers in the string Ident designates.

Note: Args_Size is the index of the last element in the Args array (one less than the number of arguments).

FmtLoadStr returns the resourced string with the arguments applied. This is the same value that would result from calling Format, using the resourced string and the specified arguments.

See Also

Personal tools
Translations