Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>convert a clipper variable type to a string</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Convert a clipper variable type to a string
------------------------------------------------------------------------------

 Syntax

        GT_ToStr( <xVar> ) --> <cVar>

 Arguments:

      <xVar>        Any Clipper variable type.

 Returns:

      <cVar>       Character representation of the variable passed.

 Description:

      Function used to convert a clipper variable type to a string.

 Examples:

      GT_ToStr(space(8)) --> space(8)
      GT_ToStr("Phillip Hamlyn") --> "Phillip Hamlyn"
      GT_ToStr( {|| "PCH" } ) --> "PCH"
      GT_ToStr( 123123 ) --> "123123"
      GT_ToStr( ctod("31/08/69") ) --> "31/08/69"
      GT_ToStr( {1,2,3} ) --> ""
      GT_ToStr( TbrowseNew() ) --> ""
      GT_ToStr( TRUE ) --> "Y"

 Source: GT_TOSTR.PRG

 Author:  Phillip Hamlyn

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