returnModelNumber {CoCoRaw} | R Documentation |
Return the internal model number of the CURRENT, the BASE. or the LAST model in the CoCo object.
returnModelNumber(model = FALSE, no.warnings = FALSE, pop = FALSE, data = NULL, object = .object.of.model(model, data = data, ...), ...)
model |
The text string "base" ,
"current" or "last" . |
no.warnings |
Logical, if no.warnings is set to TRUE then
no warnings is given if the model is not available. |
pop |
Logical: If pop is set to TRUE in CoCoCg
then the CURRENT and BASE pointers are set to the top pointers
of the stack of CURRENT and BASE pointers in the CoCo object,
see push at makeCurrent . |
data |
( See exportCoCo . ) |
object |
See exportCoCo . |
... |
( Additional arguments to generate the CoCo object
from the data argument. See propertyModel . ) |
An integer with the model number, if the model is avaliable, else NULL.
pop
is only implemented for CoCoCg objects.
Jens Henrik Badsberg
Badsberg, J.H.: Xlisp+CoCo, Aalborg University, 1996.
enterModel
, showModel
,
returnTest
,
isSubmodel
, propertyModel
,
makeCurrent
and returnModel
.