xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

PrgExpToVal()

Converts a character string obtained from ValToPrgExp() back to the original data type.

Syntax

Prgexptoval( <cString> ) --> xValue

Arguments

<cString>
This is a character string previously obtained from ValToPrgExp().

Return

The function returns the value of the expression encoded in <cString>.

Description

PrgExpToVal() is the reverse function of ValToPrgExp(). It exists mainly for completeness, since it merely invokes the macro compiler and returns the result of the expression represented by <cString>.

Info

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


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