Other services
J provides services which deal with the interpreter status or its invocation context.
|
The ...
service |
is used
to... |
|
Object : exit(in int status) |
Exit the program execution underway. "status" indicates the output code and may only be recovered in "batch" mode. |
|
boolean Object:setTrace (in boolean mode) |
Activate or inhibit the J trace mode according to the "mode" value. Return the previous mode. The trace mode consists of displaying called methods and line numbers executed in the console, or in the execution window in "batch" mode. |
|
Project
Object:getCurrentProject() |
Return the current project. |
|
String
Object:getCurrentProfileName() |
Return the complete name of the interpreter's current UML profile. |
|
String
Object:getStartUpProfileName() |
Return the complete name of the UML profile initially used upon the launching of the interpreter. |
|
Object
Object:getStartUpObject() |
Return the destination object of the first message of the J program which is being interpreted. |
|
String
Object:getCurrentModuleName () |
Return the name of the module that the launching command belongs to may be empty. |