xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_ValToStr()

Converts values of simple data types to character string.

Syntax

HB_ValToStr( <xValue> ) --> cString

Arguments

<xValue>
This is a value of simple data type (C, D, L, M, N, P, U).

Return

The function returns the converted value as a character string.

Description

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 ("").

Info

See also:CStr(), HB_Serialize(), ValToPrg(), ValToPrgExp(), Valtype()
Category: Conversion functions , xHarbour extensions
Source:rtl\valtostr.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe