xHarbour Reference Documentation > Function Reference |
Enables or disables runtime behavior of the macro compiler.
HB_SetMacro( <nMode>, [<lOnOff>] ) --> lOldSetting
Features of the macro compiler
Constant | Value | Default | Description |
---|---|---|---|
HB_SM_HARBOUR | 1 | ON | Support inline operators |
HB_SM_XBASE | 2 | ON | Support comma separated expression lists |
HB_SM_PREPROC | 4 | OFF | Support commands preprocessing |
HB_SM_SHORTCUTS | 8 | ON | Support shortcuts for logical operators |
The function returns the previous setting, active before HB_SetMacro() is called.
This function enables or disables some features of the macro compiler. xHarbour is extending the macro features compared to an original set available in Clipper. Enabling/disabling some of them allows to keep strict Clipper compatibility.
See also: | & (macro operator) |
Category: | Indirect execution , xHarbour extensions |
Source: | vm\macro.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com