help elabel fcncall

Title

elabel fcncall -- Parse call to elabel_fcn_fcn

Syntax

elabel fcncall
{variable|define|*}
[ lmacname1 ] lmacname2 lmacname3
: elabel_fcn_call

where lmacname1, lmacname2, and lmacname3 are
local macro names; elabel_fcn_call is

subcommand
namelist
= arguments [ , options ]

and local macros are filled with the elements of
elabel_fcn_call

local macro contains

lmacname1 subcommand

lmacname2 namelist

lmacname3 arguments [ , options ]

If version is set to 16 or higher, the syntax

elabel fcncall
{variable|define|*}
[ lmacname1 ] lmacname2 lmacname3

is allowed and obtains elabel_fcn_call from what the caller has typed.

Description

elabel fcncall is a convenience tool for parsing calls to
elabel_fcn_fcn programs.

If you are writing a (pseudo-)function
for elabel variable, specify
elabel fcncall variable ...

If you are writing a (pseudo-)function
for elabel define, specify
elabel fcncall define ...

In the rare cases where you want to write a
(pseudo-)function for both
elabel variable and
elabel define, specify
elabel fcncall * lmacname1 ...

Remarks

As explained in
Adding (pseudo-)functions to elabel,
when you type

. elabel define elblnamelist = fcn(arguments)
[ , {add|modify|replace} nofix options ]

elabel internally calls elabel_fcn_fcn as

elabel_fcn_fcn
define
lblnamelist
= arguments
[ , {add|modify|replace} nofix options ]

elabel fcncall splits this internal call and returns the
respective elements in local macros. Typical usage of
elabel fcncall is

program elabel_fcn_newfcn

version

elabel fcncall {define|variable} lblnames 0 : `0'

{syntax ...|elabel parse ... : `0'}

...

end

where you omit lmacname1 because you already know that the subcommand
is define or variable.

Author

Daniel Klein

University of Kassel

klein.daniel.81@gmail.com

Also see

Online: gettoken

if installed: elabel