java.lang.Object
simula.runtime.RTS_ARRAY
simula.runtime.RTS_RTObject.RTS_TEXT_ARRAY
- Enclosing class:
RTS_RTObject
This class represent a Simula text array.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRTS_TEXT_ARRAY
(RTS_RTObject.RTS_BOUNDS... BOUNDS) Create a text array with the given bounds. -
Method Summary
Modifier and TypeMethodDescriptionCOPY()
Abstract method redefined for all subclass <type>_ARRAYgetELEMENT
(int... x) This method will return a text reference from ELTS[x...]putELEMENT
(int ix, RTS_TXT val) This method will put a text reference into ELTS[ix]Methods inherited from class simula.runtime.RTS_ARRAY
index, lowerBound, nDim, size, toString, upperBound
-
Field Details
-
ELTS
The elements in this RTS_TEXT_ARRAY
-
-
Constructor Details
-
RTS_TEXT_ARRAY
Create a text array with the given bounds.- Parameters:
BOUNDS
- the array bounds
-
-
Method Details
-
putELEMENT
This method will put a text reference into ELTS[ix]- Parameters:
ix
- the index of ELTSval
- the value to put- Returns:
- the value stored
-
getELEMENT
This method will return a text reference from ELTS[x...]- Parameters:
x
- the indexes of ELTS- Returns:
- the value loaded
-
COPY
Abstract method redefined for all subclass <type>_ARRAY
-