next up previous
Next: Concluding Record Up: Record Descriptions Previous: Content Records


Compiled Procedures and Functions

It is outside of the scope of this document to describe the records which contain compiled procedures or functions. The beginning of the record has the following format:


Format: COMPILED        (compiled procedure or function)
Type Name Description
RHDR HDR Block header record
STRING PRONAME Name of procedure or function (upper case ASCII)
LONG LENGTH Length of procedure (unknown units?)
LONG N_VARS Number of variables used in procedure
LONG N_ARGS Total number of parameters and keywords
LONG PROFLAGS Bit flags for procedure type, OR'd as follows:
'01'x Record is a function; else, procedure
'02'x Procedure accepts keywords
'08'x Uses _EXTRA keyword parameter
'10'x Unknown? (defined for every procedure)
'20'x Record is a method
'40'x Is a lifecycle method
$\vdots$
Undefined
$\vdots$


NOTES: The default is for all flags (except '10'x) to be zero, i.e., procedure which does not accept keywords and is not a method. Method-type procedures and functions apply to objects, are only meaningful in IDL 5.0 or greater. A ``lifecycle method'' is one which is used to create or destroy an object.


next up previous
Next: Concluding Record Up: Record Descriptions Previous: Content Records
Craig Markwardt 2011-12-21