Files
harbour-core/harbour/doc/en/eval.txt
Viktor Szakats bb40624dbe 2010-02-20 21:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ doc/en
  - doc/en-EN
  - contrib/hbgt/doc/en-EN
  + contrib/hbgt/doc/en
  - contrib/hbziparc/doc/en-EN
  + contrib/hbziparc/doc/en
  - contrib/rddads/doc/en-EN
  + contrib/rddads/doc/en
  - contrib/hbgd/doc/en-EN
  + contrib/hbgd/doc/en
  - contrib/hbmisc/doc/en-EN
  + contrib/hbmisc/doc/en
  - contrib/hbbtree/doc/en-EN
  + contrib/hbbtree/doc/en
  - examples/hbdoc/examples/core_en
  + examples/hbdoc/examples/en
  - examples/hbdoc/examples/core_es
  + examples/hbdoc/examples/es
    * Renamed to use IETF complient language ID.

  - examples/hbdoc/examples/hbmisc
    - Deleted.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    ! Fixed to not use "en-EN" language code, but plain "en".

  * examples/hbdoc2/hbdoc2.prg
    * "en-en" -> "en"
2010-02-20 20:20:24 +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$
*/