Glimmr Debugging Console

version 1/100805 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Open console

    To initiate the/-- Glimmr console:
        open up the console-window.

    After constructing the console-window:
        If the current action is opening the g-console:
            continue the action;[We don't want to follow this rule if we've already opened the console using an action.]
        if console-window is g-present:
            say "[>console][bracket]Glimmr Console[close bracket]: Console initiated by source code directive.[unless the Glimmr debugging option is active][bracket]Glimmr Console[close bracket]: Automated logging is disabled. To enable, activate the Glimmr debugging use option.[end if][<]";
        otherwise:
            say "*** An unknown error prevented the Glimmr console window from opening.";
        continue the action.

    To cease logging to Glimmr console:
        unless console-window is g-unpresent:
            shut down the console-window;
            unless console-window is g-unpresent:
                say "*** An unknown error prevented the Glimmr console window from closing.";