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 - picklinech() return the current separator character of a list http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 picklinech()        Return the current separator character of a list
------------------------------------------------------------------------------
 Declaration
   pick.hdr

 Syntax
   func uint picklinech extern
   param value _LIST pList

 Arguments
   pList is a list pointer.

 Return
   The ASCII code of the list item separator character.

 Description
   The picklinech() function returns the code of the currently defined
   item separator character for list display. By default the '-' (chr(196))
   character is used to identify separator line items for the pickdisp()
   function.

   This function is normally used with string lists to be displayed via the
   pickdisp() function.

 Example
   #define EXAMPLE_LIST
   #include example.hdr

   proc Test_picklinech
   vardef
      _SLIST pList
   enddef
   pList := pickinit()
   ? chr( picklinech( pList ) )               // output: -
   picksetlinech( pList, '-' )
   ? chr( picklinech( pList ) )               // output: -
   pickclear( pList )
   endproc

   proc main
   Test_picklinech()
   endproc

See Also: picksetlinech()

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