Sack Library Documentation
ContentsIndexReferenceHome
Example
PLIST pList = NULL;
CTEXTSTR p;
INDEX idx;
   
AddLink( &pList, "this" );
AddLink( &pList, "is" );
AddLink( &pList, "a" );
AddLink( &pList, "test" );
   
LIST_FORALL( pList, idx, CTEXTSTR, p )
{
    if( strcmp( p, "is" ) == 0 )
        break;
}
LIST_NEXTALL( pList, idx, CTEXTSTR, p )
{
    printf( "remaining element : %s", p );
}
j 
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.