Printer
GetExpressionType
get type of IC expression
Calling Sequence
Parameters
Description
Printer:-GetExpressionType(expr)
-
Printer module
expr
Intermediate Code expression
When called during the printing of the intermediate form, the GetExpressionType command returns a CodeGeneration:-Names:-Type or CodeGeneration:-Names:-ArrayType expression corresponding to the type of the intermediate form expression expr in the present scope.
Note that the result of GetExpressionType is dependent on the current position within the intermediate form. For example, the function call GetExpressionType(Name("x")) may return different results when called during the printing of a procedure with a local variable x than when called outside the printing of this procedure.
See Also
GetScopeName
GetScopeStructure
Download Help Document