|
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. When to use 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.
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. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types anLambda The Lambda to be disassembled. Lambda start A starting displacement. Integer end An ending displacement. Integer src: Optional argument. If present, the source statements will be displayed in front
of the Virtual Machine instructions Symbol short: Optional argument. If present, the disassembly will be displayed in short format. Symbol srcOnly: Optional argument. If present, the source statements will be displayed only,
NOT the Virtual Machine Instructions Symbol
Returns:
Examples
Argument Types
Lambda
Boolean
Symbol
String
How do I contact the AIS team?