Sack Library Documentation
ContentsIndexReferenceHome
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 );

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!