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 - pickcopy() copy a string list to another http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 pickcopy()          Copy a string list to another
------------------------------------------------------------------------------
 Declaration
   pick.hdr

 Syntax
   func ulong pickcopy extern
   param value _SLIST pList

 Arguments
   pList is the source list for copying.

 Return
   The exact copy of the input list.

 Description
   The pickcopy() function copies a string list to another one.

   This function can only be used with string lists, but not with generic
   lists that contain non-character data.

 Example
   #define EXAMPLE_LIST
   #include example.hdr

   proc Test_pickcopy
   vardef
      ulong pList1, pList2
   enddef
   pList1 := ExampleList()
   ?
   pList2 := pickcopy( pList1 )      // copy list
   ShowList( pList2 )                // show second list
   pickclear( pList1 )
   pickclear( pList2 )
   endproc

   proc main
   Test_pickcopy()
   endproc

See Also: picksort()

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