| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Converts a character string to a value of specific data type.
CStrToVal( <cString>, <cValtype> ) --> xValue
The function returns the converted value. If <cValtype> is not supported by CStrToVal(), a runtime error is raised.
| See also: | CStr(), StoD(), Val(), Valtype(), ValToPrg(), ValToPrgExp() |
| Category: | Conversion functions , xHarbour extensions |
| Source: | rtl\cstr.prg |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com