Files
harbour-core/harbour/doc/en/eval.txt
Viktor Szakats 8740095e25 2012-11-16 04:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
    ! restored/fixed file that got corrupted in
      2012-11-15 16:07 UTC+0200 when spaces got converted
      to tabs.

  * doc/Makefile
  - doc/en/gtslang.txt
  + doc/gtslang.txt
    * moved non-nfdoc doc to /docs

  - doc/en/memvar2.txt
  + doc/en/memvar.txt
    * renamed

  - contrib/hbmisc/doc/en/ht_dbf.txt
    - deleted. it contained functions no
      longer in hbmisc

  - doc/en/cmdline.txt
  - doc/en/gnulice.txt
  - doc/en/readme.txt
    - deleted redundant/obsolete/duplicate docs

  * doc/cmdline.txt
    ! typo
    * minor sync with duplicate found in en/ subdir

  * contrib/hbgd/doc/en/hbgd.txt
  * contrib/hbnf/doc/en/tbwhile.txt
  * contrib/hbnf/tests/tbwhile.prg
  * doc/en/array.txt
  * doc/en/binnum.txt
  * doc/en/browse.txt
  * doc/en/datetime.txt
  * doc/en/dbstrux.txt
  * doc/en/dir.txt
  * doc/en/diskspac.txt
  * doc/en/errsys.txt
  * doc/en/eval.txt
  * doc/en/file.txt
  * doc/en/garbage.txt
  * doc/en/harbext.txt
  * doc/en/hashes.txt
  * doc/en/hb_api.txt
  * doc/en/hb_apier.txt
  * doc/en/hb_apifs.txt
  * doc/en/hb_apiit.txt
  * doc/en/hb_apiln.txt
  * doc/en/hb_date.txt
  * doc/en/hb_macro.txt
  * doc/en/hb_set.txt
  * doc/en/hb_vm.txt
  * doc/en/hbflock.txt
  * doc/en/hvm.txt
  * doc/en/input.txt
  * doc/en/lang.txt
  * doc/en/macro.txt
  * doc/en/math.txt
  * doc/en/memo.txt
  * doc/en/menu.txt
  * doc/en/misc.txt
  * doc/en/nation.txt
  * doc/en/objfunc.txt
  * doc/en/rddmisc.txt
  * doc/en/set.txt
  * doc/en/string.txt
  * doc/en/strotype.txt
  * doc/en/tbrowse.txt
  * doc/en/tclass.txt
  * doc/en/terminal.txt
  * doc/en/tgetlist.txt
  * doc/en/tlabel.txt
  * doc/en/treport.txt
  * doc/en/var.txt
    ! rerun my function casing fixer script after
      fixing a bug in it causing existing items not
      found in hash. (apparently the HVM CP must be
      the same when assembling the hash and when
      using it, or something of this effect)
    * rtl/vm/macro lib names now referred to as 'core'

  * utils/hbmk2/hbmk2.prg
    * formatted EXTERNAL statements

  * README
    + added some legal text from old readme under docs
2012-11-16 03:19:15 +00:00

69 lines
1.6 KiB
Plaintext

/*
* $Id$
*/
/*
* The following parts are Copyright of the individual authors.
* www - http://harbour-project.org
*
* Copyright 2000 Luiz Rafael Culik <culik@sl.conex.net>
* Documentation for: Eval()
*
* See COPYING for licensing terms.
*
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
Eval()
$CATEGORY$
API
$SUBCATEGORY$
Execute and Execution
$ONELINER$
Evaluate a code block
$SYNTAX$
Eval( <bBlock> [, <xVal> [,...]]) --> xExpression
$ARGUMENTS$
<bBlock> Code block expression to be evaluated
<xVal> Argument to be passed to the code block expression
<xVal...> Argument list to be passed to the code block expression
$RETURNS$
<xExpression> The result of the evaluated code block
$DESCRIPTION$
This function evaluates the code bloc expressed as <bBlock> and
returns its evaluated value. If their are multiple expressions within
the code block, the last expression will be value of this function.
If the code block requires parameters to be passed to it,they are
specified in the parameter list <xVal> and following. Each parameter
is separated by a comma within the expression list.
$EXAMPLES$
PROCEDURE Main()
LOCAL bBlock := {|| NIL }
? Eval( 1 )
? Eval( @bBlock )
? Eval( {| p1 | p1 }, "A", "B" )
? Eval( {| p1, p2 | p1 + p2 }, "A", "B" )
? Eval( {| p1, p2, p3 | p1 }, "A", "B" )
RETURN
$TESTS$
See examples
$STATUS$
R
$COMPLIANCE$
C
$PLATFORMS$
All
$FILES$
Library is core
$SEEALSO$
AEval(),dbEval()
$END$
*/