RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Exception.CreateFmt Constructor

Instantiates an instance of an exception with a formatted message string.

Pascal
constructor CreateFmt(const Msg: string; const Args: array of const);
C++
__fastcall Exception(const AnsiString Msg, const array of const Args);

Call CreateFmt to construct an exception with a formatted message string. Msg is a string constant containing format specifiers to be replaced with values from Args. Args is an array of constants containing values to format according to format specifiers in Msg, and insert into Msg. CreateFmt calls the Format function to transform Msg with the values in Arg. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!