Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_vtoc() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_VTOC()

 DESCRIPTION

 The C_VTOC() function converts numeric and logical data as well as
 date variables to character data.  This can be used to quickly
 convert data of other types to character data for purposes such as
 screen displays, reports, or functions that require character data.

 NOTES

 All data types (character, numeric, logical, date, array, and memo)
 can be passed to the C_VTOC() function, however, array and memo
 data types are ignored by the function.

 SYNTAX

 C_VTOC(data)

 PARAMETERS

 data (C/N/D/L/A/M) is the data value to convert to character data.
 Note that array and memo data types are not converted.

 RETURNS

 C_VTOC() returns a character string of the converted data.

 EXAMPLES

 && The converts the various data types to character data.

 mdate = ctod("01/01/90")
 ? c_vtoc("abc")     --> abc          && Character to Character
 ? c_vtoc(12345)     --> 12345        && Numeric to Character
 ? c_vtoc(mdate)     --> 01/01/90     && Date field to Character
 ? c_vtoc(.T.)       --> .T.          && Logical to Character


See Also: C_LTOC() C_CTOL() C_BTOZ() C_ZTOB() C_ISDATA()

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