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 - pickvalidate() validate a list http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 pickvalidate()      Validate a list
------------------------------------------------------------------------------
 Declaration
   pick.hdr

 Syntax
   func logical pickvalidate extern
   param value _LIST pList

 Arguments
   pList is an address to validate as a list pointer.

 Return
   A logical indicating if the list is valid.

 Description
   The pickvalidate() function determines if the passed parameter is a
   pointer to a valid pick list.

 Example
   #define EXAMPLE_LIST
   #include example.hdr

   proc Test_pickvalidate
   vardef
      _LIST pList
   enddef
   ? pickvalidate( pList )           // list invalid yet
   pList := pickinit()               // initialize list
   ? pickvalidate( pList )           // list valid after initialization
   pickclear( pList )                // clear list
   ? pickvalidate( pList )           // list invalid after clearing
   endproc

   proc main
   Test_pickvalidate()
   endproc

See Also: pickinit()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson