Nikita

The following example will cause your process to drop into programmer mode if it is set as the user's startup routine:

ZitRoStart
  write "hello", !
  do ^%SYS.PMODE

When a routine is specified as the user's startup routine the process starts in "application mode", sometimes referred to as a tied routine.  Calling routine %SYS.PMODE forces the process into programmer mode if it was started in application mode.

George

George James Software
www.georgejames.com