[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_SLIST String list pointer
------------------------------------------------------------------------------
Declaration
pick.hdr
Syntax
typedef _LIST _SLIST
Description
The _SLIST type is used to declare a pointer to a string list.
A string list pointer is returned by the pickinit() function, and used
by the other string list manipulation functions.
Example
#define EXAMPLE_TYPE
#include example.hdr
proc Test_SLIST
vardef
_SLIST pList
uint n
enddef
pList := pickinit()
for n := 0 to 6
pickadd( pList, __daynames[ n ] )
? pickcount( pList ), pickstr( pList, n + 1 )
next
pickclear( pList )
endproc
proc main
Test_SLIST()
endproc
See Also: pickinit()
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson