| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Executes a PCode string.
HB_VMExecute( <cPCode> ) --> xValue
The function returns the result of the last PCode instruction of <cPCode>.
Function HB_VMExecute() passes a character string of PCode instructions to xHarbour's virtual machine which executes the PCode. The string <cPCode> must be created with HB_MacroCompile(). The return value depends on the last PCode instruction within <cPCode>.
| See also: | & (macro operator), Eval(), HB_MacroCompile() |
| Category: | Indirect execution , xHarbour extensions |
| Source: | vm\hvm.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com