Sack Library Documentation
sack::containers::text::PVARTEXT Type
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
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!