disassemble
|
The disassemble function disassembles the Lambda {anLambda} into a string representing
its Virtual Machine instructions, modifiers, and arguments. The disassemble
function has optional arguments {start}, and {end} that specify the disassembly
should begin and end from the specified displacement line numbers. The displacements
are virtual machine displacements NOT source line numbers. The optional argument {src:} specifies that the source statements should be
displayed in before the Virtual Machine instructions. The optional argument {short:} specifies that the source statements should
be displayed in short format. The optional argument {srcOnly:} specifies that ONLY the SOURCE statements
should be displayed. The disassemble function also operates in cooperation with the debug
function. For correct operation, the target Analytic Information Server Lambda must have
been compiled with the debugger mode on. The disassemble function will display
the source and generated Virtual Machine instructions for any Lambda compiled with
debug mode on. The {start} and {end} arguments, shown in these commands,
are those generated from the disassemble function. Usage The disassemble function returns the Virtual Machine Lambda instructions,
modifiers, and arguments and/or source statements.
(disassemble anLambda start end src: short: srcOnly:) A string containing the virtual machine instructions with the source string (optional)
of the Lambda argument.
Expression:
Arguments
Name
Type
Description Argument: anLambda Lambda
The Lambda to be disassembled. Argument: start Integer
A starting displacement. Argument: end Integer
An ending displacement. Argument: src: Symbol
Optional argument. If present, the source statements will be displayed in front
of the Virtual Machine instructions Argument: short: Symbol
Optional argument. If present, the disassembly will be displayed in short format. Argument: srcOnly: Symbol
Optional argument. If present, the source statements will be displayed only,
NOT the Virtual Machine Instructions
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Lambda | Boolean | Symbol | String |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|