xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_DumpVar()

Converts a value to a character string holding human readable text.

Syntax

HB_DumpVar( <xValue> ) --> cText

Arguments

<xValue>
This is a value of any data type.

Return

The function returns a character string containing the passed value as a human readable text.

Description

Function HB_DumpVar() accepts a value of any data type and returns a character string holding a human readable text. This is especially useful for getting data of complex data types, such as Array, Hash and Object, and writing it to a log file. HB_DumpVar() is a plain debugging function.

Info

See also:CStr(), HB_Serialize(), ValToPrg(), ValToPrgExp()
Category: Debug functions , xHarbour extensions
Source:rtl\dumpvar.prg
LIB:xhb.lib
DLL:xhbdll.dll


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