Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - _slist string list pointer http://www.X-Hacker.org [<<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.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson