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

 Syntax
   func uint pickmarkch extern
   param value _LIST pList

 Arguments
   pList is a list pointer.

 Return
   The ASCII code of the current marker character.

 Description
   The pickmarkch() function returns the code of the currently defined
   marker character for the passed list.  By default the '.' character is
   used to mark items by 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_pickmarkch
   vardef
      _SLIST pList
   enddef
   pList := pickinit()
   ? chr( pickmarkch( pList ) )               // output: .
   picksetmarkch( pList, '*' )
   ? chr( pickmarkch( pList ) )               // output: *
   pickclear( pList )
   endproc

   proc main
   Test_pickmarkch()
   endproc

See Also: picksetmarkch()

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