Files
harbour-core/harbour/doc/en/macro.txt
Viktor Szakats 005bc1d9f7 2008-10-13 22:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/transtst.prg
  * doc/en/string.txt
  * doc/en/compiler.txt
  * doc/en/macro.txt
  * doc/en/browse.txt
  * doc/en/binnum.txt
  * doc/es/macro.txt
  * doc/es/browse.txt
  * doc/es/binnum.txt
  * doc/transfrm.txt
  * doc/whatsnew.txt
  * include/hbclass.ch
  * include/hbmacro.ch
  * include/hbexprb.c
  * ChangeLog
  * contrib/hbvpdf/hbvpdft.prg
  * contrib/hbwhat/import.ch
  * source/vm/macro.c
  * source/rtl/tobject.prg
  * source/rtl/tthreadx.prg
  * source/rtl/transfrm.c
  * source/rtl/tget.prg
  * source/rtl/isprint.c
  * source/rtl/tbrowse.prg
  * source/rdd/wacore.c
  * source/rdd/dbdetach.c
  * utils/hbtest/rt_trans.prg
    * Xbase++ name references cleaned.

  * common.mak
  * source/rdd/Makefile
  * source/rdd/dbdetach.c
  + source/rdd/dbdetacx.c
    * Moved XBase++ compatibility functions to separate file.
2008-10-13 20:33:26 +00:00

80 lines
2.2 KiB
Plaintext

/*
* $Id$
*/
/* $DOC$
* $FUNCNAME$
* Macro compiler
* $CATEGORY$
* Document
* $ONELINER$
* Macro compiler
* $DESCRIPTION$
*
* <b>Invoking the macro compiler: </b> </par>
* ============================== </par>
*
* &variable </par>
* or </par>
* &( expression ) </par>
* or </par>
* &variable.text </par>
*
* $END$
*/
/* $DOC$
* $FUNCNAME$
* HB_SETMACRO()
* $CATEGORY$
* Macro compiler
* $ONELINER$
* Enable/disable the macro compiler runtime features.
* $SYNTAX$
* HB_SETMACRO( <nOption>, [<lOnOff>] ) --> <lOldSetting>
* $ARGUMENTS$
* <nOption> One of the HB_SM_* constants defined in set.ch.
*
* <lOnOff> .T. to enable or .F. to disable a feature
* $RETURNS$
* HB_SETMACRO() return the old state of requested feature.
* $DESCRIPTION$
* This function enables or disables some features of the macro
* compiler. The Harbour is extending the macro features compared
* to an original set available in Clipper. Enabling/disabling
* some of them allows to keep strict Clipper compatibility.
*
* Available features are:
* <b>HB_SM_HARBOUR</b> - enables harbour extensions:
* operators: ++, --, +=, -=, *=, /=, ^=
* objects: assigments to an instance variable
* <b>HB_SM_XBASE</b> - enables other Xbase++ dialects extensions:
* expanding of expresions lists
* <b>HB_SM_SHORTCUTS</b> - enables optimized evaluation of
* logical operators (.and., .or.)
* <b>HB_SM_PREPROC</b> - enables preprocessing of commands
* This is meaningfull if Harbour is compiled with
* HB_MACRO_STATEMENTS flag
*
* $EXAMPLES$
* INIT PROCEDURE IWANTCLIPPER()
* HB_SETMACRO( HB_SM_HARBOUR, .F. )
* HB_SETMACRO( HB_SM_XBASE, .F. )
* RETURN
*
* </fixed>
* $STATUS$
* R
* $COMPLIANCE$
* This function is Harbour extension.
* $PLATFORMS$
* All
* $FILES$
* Header file is set.ch
* Library is macro
* $SEEALSO$
* Macro compiler
* $END$
*/