argFetch

 

 

Overview

The argFetch special form returns the nth argument passed to the current function.

Usage

The argFetch special form is used to access arguments in Lambdas, which have been sent an indefinite number of arguments using the ellipsis syntax form. The number of arguments is only known at runtime.

 

Syntax


Expression:

(argFetch index)


Arguments Name Type Description
Argument:indexInteger The index of the argument to be fetched.

Returns:

The value of the indexed argument



 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

Lambda

Here are also a number of links to functions having arguments with any of these data types.

argCount argFetch attachLibrarian balance
callcc class compareEQ compareGE
compareGT compareLE compareLT compareNE
compare compile copy debugBrowsableProcs
debug defchild defclass define(macro)
define defmacro defmethod deforphan
defriend defun detachLibrarian disassemble
evalInSyncLocalContext eval exportCsv exportSbf
exportTab globalBinding importCsv importSbf
importTab inspect isClass lambda
lisp macroReplace makeLambda myself
new onError refLibrarian ref
send setq super

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE