| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Contains some general-purpose miscellaneous function that do not seem to fit nicely into any other EMOS library.
PUBLIC CONSTANTS:
Method Summary | |
int | debug_msg(in msg) In debug-mode produces a "report_msg" formated as "DEBUG: msg ". |
int | debug_msg2(in msg) In debug-mode produces a "report_msg" formated as "DEBUG: msg " if debug level >= 2. |
int | fail(in rc) returns !0 if rc != E_OK |
int | getLastRc() what was the last error |
int | is_debug() Returns the debug mode. |
int | Ja(in str) Converts a string "Y"/"Yes" or German equivalent "J"/"Ja" (case-insensitive!) to boolean. |
int | load_GUI(in gui) Wrapper around GUI_load(). |
int | pass(in rc) returns !0 if rc == E_OK |
int | restore_timeout() Restores the timeout that has been overriden by the last invocation of the set_timeout() function. |
int | set_debug(in mode) Turns debug mode on/off. |
int | set_timeout(in time) Wrapper around setvar("timeout"). |
int | yes(in str) Converts a string "Y"/"Yes" or German equivalent "J"/"Ja" (case-insensitive!) to boolean. |
Method Detail |
public int debug_msg(in msg)
msg
".
Otherwise just returns (no message produced).public int debug_msg2(in msg)
msg
" if debug level >= 2.
Otherwise just returns (no message produced).public int fail(in rc)
public int getLastRc()
public int is_debug()
public int Ja(in str)
NOTE!
Blanks are trimmed from both sides of
public int load_GUI(in gui)
gui
is unloaded first
before the load is attempted (avoids a message). Additionally it produces
a tl_step() message documenting the outcome of invoked GUI_load() function.public int pass(in rc)
public int restore_timeout()
public int set_debug(in mode)
public int set_timeout(in time)
public int yes(in str)
NOTE!
Blanks are trimmed from both sides of
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |