Show: Delphi C++
Display Preferences

System.AnsiStrings.AnsiFormatBuf

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AnsiFormatBuf(var Buffer; BufLen: Cardinal; const Format; FmtLen: Cardinal; const Args: array of const): Cardinal;
function AnsiFormatBuf(var Buffer; BufLen: Cardinal; const Format; FmtLen: Cardinal; const Args: array of const; const AFormatSettings: TFormatSettings): Cardinal;

C++

extern DELPHI_PACKAGE unsigned __fastcall AnsiFormatBuf(void *Buffer, unsigned BufLen, const void *Format, unsigned FmtLen, const System::TVarRec *Args, const int Args_High)/* overload */;

Properties

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

Description

Format argument list using format string.

AnsiFormatBuf formats the argument list given by Args using the format string given by Format and FmtLen into the buffer given by Buffer and BufLen. The Format parameter is a reference to a buffer containing FmtLen characters, and the Buffer parameter is a reference to a buffer of BufLen characters. The returned value is the number of characters actually stored in Buffer. The returned value is always less than or equal to BufLen. For further details, see the description of the Format function.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance