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