RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringBase::vprintf Method

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

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

Use System::AnsiStringBase::vprintf to set to the value of the System::AnsiStringBase 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. 

 

System::AnsiStringBase::Format 

System::AnsiStringBase::sprintf 

System::AnsiStringBase::printf 

System::AnsiStringBase::cat_vprintf

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!