Printer:-GetExpressionType - get type of IC expression
|
Calling Sequence
|
|
Printer:-GetExpressionType(expr)
|
|
Parameters
|
|
Printer
|
-
|
Printer module
|
expr
|
-
|
Intermediate Code expression
|
|
|
|
|
Description
|
|
•
|
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.
|
|
|
Download Help Document
Copyright © MathResources Inc. All Rights Reserved.
www.mathresources.com