Please enable JavaScript to view this site.

A-Shell 6.5 Development Notes

Compiler (edit 847) bug fixes related to indirect/lblref functions:

Indirect procedures are now supported as well as functions. Previously, attempts to use indirect procedures may have resulting in undefined reference compiler errors.
Indirect functions/procedures, , i.e. LBLREF parameters, can now be passed by name, as expected. The actual function name being passed must be prefixed by the "@", just as it would when using standard ordered parameters. The parameter name can optionally be prefixed with @".

For example, assuming a function defined as:

Function Fn'Foo(@callback() as lblref) ...

any of the following syntaxes is supported:

call Fn'Foo(@callback=@Bar())  ! @name=@routine

call Fn'Foo(callback=@Bar()) ! name=@routine

call Fn'Foo(@Bar())            ! @routine (ordered param)