RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiString::vprintf Method

Sets the value of the System::AnsiString::AnsiString given a format string and its arguments.

Pascal
function vprintf(const format: char*; : va_list): Integer; cdecl;
C++
__cdecl int vprintf(const char* format, va_list);

Use System::AnsiString::vprintf to set to the value of the System::AnsiString::AnsiString given a standard C++ format specifier. Pass the values to any arguments in the format specifier as a variable argument list that was created using va_start.  

This method returns the length of the final formatted string. 

 

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