Files
harbour-core/harbour/doc/en-EN/eval.txt
April White 22d6978189 * doc/class_tp.txt
* doc/hdr_tpl.txt
  * doc/inet.txt
  * doc/pragma.txt
  * doc/en-EN/array.txt
  * doc/en-EN/binnum.txt
  * doc/en-EN/browse.txt
  * doc/en-EN/clipper.txt
  * doc/en-EN/cmdline.txt
  * doc/en-EN/command.txt
  * doc/en-EN/compiler.txt
  * doc/en-EN/datetime.txt
  * doc/en-EN/dbdelim.txt
  * doc/en-EN/dbsdf.txt
  * doc/en-EN/dbstrux.txt
  * doc/en-EN/dir.txt
  * doc/en-EN/diskspac.txt
  * doc/en-EN/errsys.txt
  * doc/en-EN/eval.txt
  * doc/en-EN/file.txt
  * doc/en-EN/garbage.txt
  * doc/en-EN/gnulice.txt
  * doc/en-EN/gtslang.txt
  * doc/en-EN/harbext.txt
  * doc/en-EN/hb_api.txt
  * doc/en-EN/hb_apier.txt
  * doc/en-EN/hb_apifs.txt
  * doc/en-EN/hb_apigt.txt
  * doc/en-EN/hb_apiit.txt
  * doc/en-EN/hb_apiln.txt
  * doc/en-EN/hb_apird.txt
  * doc/en-EN/hb_compa.txt
  * doc/en-EN/hb_date.txt
  * doc/en-EN/hb_macro.txt
  * doc/en-EN/hb_set.txt
  * doc/en-EN/hb_vm.txt
  * doc/en-EN/hvm.txt
  * doc/en-EN/idle.txt
  * doc/en-EN/input.txt
  * doc/en-EN/lang.txt
  * doc/en-EN/license.txt
  * doc/en-EN/macro.txt
  * doc/en-EN/math.txt
  * doc/en-EN/memo.txt
  * doc/en-EN/memvar2.txt
  * doc/en-EN/menu.txt
  * doc/en-EN/misc.txt
  * doc/en-EN/nation.txt
  * doc/en-EN/objfunc.txt
  * doc/en-EN/rdddb.txt
  * doc/en-EN/rddmisc.txt
  * doc/en-EN/rddord.txt
  * doc/en-EN/readme.txt
  * doc/en-EN/sayget.txt
  * doc/en-EN/set.txt
  * doc/en-EN/setmode.txt
  * doc/en-EN/string.txt
  * doc/en-EN/strotype.txt
  * doc/en-EN/subcodes.txt
  * doc/en-EN/tbrowse.txt
  * doc/en-EN/tclass.txt
  * doc/en-EN/terminal.txt
  * doc/en-EN/tgetlist.txt
  * doc/en-EN/tlabel.txt
  * doc/en-EN/treport.txt
  * doc/en-EN/var.txt
    * amended to use standard content (template, category, sub-category)
    * typos corrected in many files
    ; TODO within hbdoc2:
      ; combine all items of one category into one file
      ; properly build links between html files (index, category, 'top');
        this will be a building block for rtf and pdf files
      ; produce rtf and pdf output
      ; produce tr output
2009-09-19 14:30:32 +00:00

69 lines
1.7 KiB
Plaintext

/*
* $Id$
*/
/*
* The following parts are Copyright of the individual authors.
* www - http://www.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$
* FUNC MAIN
* LOCAL sbBlock := {|| NIL }
* ? Eval( 1 )
* ? Eval( @sbBlock )
*
* ? Eval( {|p1| p1 },"A","B")
* ? Eval( {|p1,p2| p1+p2 },"A","B")
* ? Eval( {|p1,p2,p3| p1 },"A","B")
* Return Nil
* $TESTS$
* See examples
* $STATUS$
* R
* $COMPLIANCE$
* C
* $PLATFORMS$
* All
* $FILES$
* Library is vm
* $SEEALSO$
* AEVAL(),DBEVAL()
* $END$
*/