RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringT::vprintf Method

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

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

Use System::AnsiStringT::vprintf to set to the value of the System::AnsiStringT 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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!