Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::text::PVARTEXT Type
C++
typedef struct vartext_tag * PVARTEXT;

This is a string collector type. It has an interface to be able to vtprintf( vartext, "format string", ... ); which appends the specified string to the collected text.

PVARTEXT pvt = VarTextCreate(); vtprintf( pvt, "hello world!" ); { PTEXT text = VarTextGet( pvt ); printf( "Text is : %s(%d)", GetText( text ), GetTextSize( text ) ); LineRelease( text ); } VarTextDestroy( &pvt );

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!