4. System Classes : IntegerObject Class
 
Share this page                  
IntegerObject Class
The IntegerObject class provides an object version of an integer value. In most circumstances, the simple integer variable is the most efficient and useful form of an integer value. However, sometimes a simple object variant of the integer is useful.
For example, because array row references in OpenROAD must be reference variables rather than simple scalar variables, you cannot have an array that contains rows defined as a single integer element. However, you can get the same functionality by using an array of IntegerObjects and referring to the Value attribute of the IntegerObject to get or set the data.
To perform operations on an integer object, use the Value attribute as follows:
iobject.Value = abs(iobject.Value);
Inherits From
Object Class (see Object Class)
Inherited By
None
Attributes
Value
Methods
None