- doc/en/hb_set.txt
* doc/en/set.txt
* contrib/hbgd/doc/en/hbgd.txt -> contrib/hbgd/doc/en/gdwrp.txt
* contrib/hbmisc/doc/en/dates2.txt -> contrib/hbmisc/doc/en/dates.txt
* contrib/hbmisc/doc/en/ht_class.txt -> contrib/hbmisc/doc/en/fileread.txt
* contrib/hbmisc/doc/en/ht_conv.txt -> contrib/hbmisc/doc/en/nconvert.txt
* contrib/hbmisc/doc/en/ht_str.txt -> contrib/hbmisc/doc/en/strfmt.txt
* contrib/hbxpp/doc/en/browse.txt -> contrib/hbxpp/doc/en/dbcmdx.txt
* contrib/hbziparc/doc/en/hbziparc.txt -> contrib/hbziparc/doc/en/ziparc.txt
* contrib/rddads/doc/en/adsfuncs.txt -> contrib/rddads/doc/en/adsfunc.txt
* doc/en/array.txt -> doc/en/arrayshb.txt
* doc/en/eval.txt -> doc/en/evalhb.txt
* doc/en/input.txt -> doc/en/inputall.txt
* doc/en/lang.txt -> doc/en/langall.txt
* doc/en/nation.txt -> doc/en/natmsg.txt
* doc/en/setmode.txt -> doc/en/gx.txt
* doc/en/tgetlist.txt -> doc/en/readvar.txt
* renames to sync doc filenames with source filename
; Above patches come from 3.4 fork commits below:
2016-11-03 14:01 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com)
2016-11-03 13:48 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com)
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
/*
|
|
* Copyright 2000 Luiz Rafael Culik <culik@sl.conex.net>
|
|
* Documentation for: Eval()
|
|
*
|
|
* See COPYING.txt 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
|
|
$STATUS$
|
|
R
|
|
$COMPLIANCE$
|
|
C
|
|
$PLATFORMS$
|
|
All
|
|
$FILES$
|
|
Library is core
|
|
$SEEALSO$
|
|
AEval(), dbEval()
|
|
$END$
|
|
*/
|