| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Converts values of simple data types to character string.
HB_ValToStr( <xValue> ) --> cString
The function returns the converted value as a character string.
Function HB_ValToStr() accepts a value of simple data type and converts it into a character string representing this value. When a value of complex data type is passed (Array, Code block, Hash or Object) the function returns a null string ("").
| See also: | CStr(), HB_Serialize(), ValToPrg(), ValToPrgExp(), Valtype() |
| Category: | Conversion functions , xHarbour extensions |
| Source: | rtl\valtostr.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com