Files
harbour-core/harbour/doc/en/macro.txt
Viktor Szakats 0f365f1a5d 2012-07-03 13:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/command.txt
  * doc/en/datetime.txt
  * doc/en/dbdelim.txt
  * doc/en/dbsdf.txt
  * doc/en/dbstrux.txt
  * doc/en/dir.txt
  * doc/en/diskspac.txt
  * doc/en/eval.txt
  * doc/en/garbage.txt
  * doc/en/gtslang.txt
  * doc/en/hashes.txt
  * doc/en/hb_api.txt
  * doc/en/hb_apier.txt
  * doc/en/hb_apigt.txt
  * doc/en/hb_apiit.txt
  * doc/en/hb_apiln.txt
  * doc/en/hb_apird.txt
  * doc/en/hb_compa.txt
  * doc/en/hb_date.txt
  * doc/en/hb_macro.txt
  * doc/en/hb_set.txt
  * doc/en/hb_vm.txt
  * doc/en/idle.txt
  * doc/en/input.txt
  * doc/en/lang.txt
  * doc/en/macro.txt
  * doc/en/math.txt
  * doc/en/memo.txt
  * doc/en/memvar2.txt
  * doc/en/misc.txt
  * doc/en/string.txt
  * doc/en/var.txt
    * fixes

  * doc/en/*.txt
    * set mime-type to UTF-8
2012-07-03 11:20:27 +00:00

86 lines
2.3 KiB
Plaintext

/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Document
* $NAME$
* Macro compiler
* $CATEGORY$
* Document
* $SUBCATEGORY$
* Compiler
* $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$
* $TEMPLATE$
* Function
* $NAME$
* HB_SETMACRO()
* $CATEGORY$
* API
* $SUBCATEGORY$
* Macro
* $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 CA-Cl*pper. Enabling/disabling
* some of them allows to keep strict CA-Cl*pper compatibility.
*
* Available features are:</par>
* <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:</par>
* 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
* $STATUS$
* R
* $COMPLIANCE$
* H
* $PLATFORMS$
* All
* $FILES$
* Header file is set.ch
* Library is macro
* $SEEALSO$
* Macro compiler
* $END$
*/