Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: XQT

Package: Kernel

Routine: XQT


Information

XQT ;SEA/MJM - Menu template loader ;01/09/2001 13:32 [ 04/02/2003 8:29 AM ]

Source Information

Source file <XQT.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 9 $$UP^XLFSTR  NOFIND^XQ  ^XQ92  S1^XQCHK  ^XQDATE  ^XQSET  ^XQT1  SHO^XQT4  
NO1^XQT5  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Kernel 2 XQ  XQT4  

Entry Points

Name Comments DBIA/ICR reference
SET ;Build the ^XUTL("XQO",+XQDIC [ or "U"_DUZ]) nodes if need be
OK ;See if it's locked, etc.
RPT ;Set the 'repeat' flag in ^XUTL and strip it off list of options
LOD ;Load the template into the ^XUTL("XQT").
CHK ;Make sure it's OK to use this option
SETU ;Build the ^XUTL("XQO","U"_DUZ) nodes if need be
CHS ;Choose the template from those that match
FIND ;Find the template requested
OUT ;

External References

Name Field # of Occurrence
$$UP^XLFSTR FIND+3
NOFIND^XQ OUT+3
^XQ92 OK+7
S1^XQCHK OK+1
^XQDATE OK+7
^XQSET SET+1, SETU+1, OK+2
^XQT1 XQT+12
SHO^XQT4 XQT+7
NO1^XQT5 LOD+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?5,"See 'Menu Templates' options for more information."
  • Line Location: XQT+7
Function Call: WRITE
  • Prompt: *7," ??"
  • Line Location: FIND+2
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: FIND+6
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: LOD+2
Function Call: WRITE
  • Prompt: @IOF,?33,"Loading ",XQUR,"...",!
  • Line Location: LOD+3
Function Call: WRITE
  • Prompt: !!,"The Option File has been changed. This template will no longer work.",!?5,"'",XQUR,"' should be deleated and/or rebuilt."
  • Line Location: CHK+8
Function Call: WRITE
  • Prompt: !!,"Sorry, the option '",$P(^DIC(19,XQY,0),U,2),"'",!,?5,"is no longer available to you."
  • Line Location: CHK+9
Function Call: WRITE
  • Prompt: !!,"Because of changes to the Option File an option is no longer available."
  • Line Location: OK+3
Function Call: WRITE
  • Prompt: !!,"Option '",$P(XQY0,U,2),"'",!,?5,"is out of order. The message is: ",$P(XQY0,U,3)
  • Line Location: OK+5
Function Call: WRITE
  • Prompt: !!,"Option '",$P(XQY0,U,2),!,?5,"is locked. You don't own the key."
  • Line Location: OK+6
Function Call: WRITE
  • Prompt: !!,"Option '",$P(XQY0,U,2),"'",!,?5,"is not permitted to run right now. Sorry."
  • Line Location: OK+7
Function Call: WRITE
  • Prompt: !!,"Option '",$P(XQY0,U,2),!,?5,"is restricted to run only only certain terminals. You're not on one. Sorry."
  • Line Location: OK+8
Function Call: WRITE
  • Prompt: !!,"Chose by number from: ",!
  • Line Location: CHS+1
Function Call: WRITE
  • Prompt: !,?5,XQI,". ",XQ(XQI)
  • Line Location: CHS+1
Function Call: READ
  • Timeout: DTIME
  • Variable: %
  • Line Location: CHS+2
Function Call: WRITE
  • Prompt: !!,"Enter a number between 1 and ",XQJ-1," or '^' to quit: "
  • Line Location: CHS+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(19 - [#19] SET+1, CHK+8, CHK+9, OK+2, OK+8, OK+10, OK+11, OK+12
^DISV( XQT+8, XQT+10*
^VA(200 - [#200] FIND+5, LOD+2, LOD+5, LOD+7, SETU+1, CHK+5
^XUSEC( OK+6
^XUTL("XQ" XQT+10*, FIND+1
^XUTL("XQO" SET+1, SETU+1, CHK+1, CHK+2, CHK+4, CHK+5, CHK+7, OK+2, OK+3
^XUTL("XQT" LOD+4*, LOD+8!, OK+9*, OK+10*, OK+11*, OK+12*, RPT+1*

Label References

Name Line Occurrences
CHK LOD+7
CHS FIND+8, CHS+2
FIND XQT+9
LOD XQT+9
OK LOD+7
OUT XQT+7, XQT+9, LOD+2
RPT LOD+7
SET CHK+7
SETU CHK+3

Naked Globals

Name Field # of Occurrence
^("XQT" XQT+8
^(15 OK+12
^(20 OK+11
^(26 OK+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% XQT+11!, CHK+5*, OK+3*, OK+4, OK+7, CHS+2*, OUT+2!
DT LOD+4
DTIME CHS+2
DUZ XQT+8, XQT+10, FIND+5, LOD+2, LOD+5, LOD+7, SETU+1, CHK+3, CHK+4, CHK+5
, OK+6
IOF LOD+3
ION OK+8
U XQT+6, LOD+5, LOD+7, SET+1, SETU+1, CHK+1, CHK+2, CHK+4, CHK+5, CHK+7
, CHK+9, OK+2, OK+3, OK+4, OK+5, OK+6, OK+7, OK+8, OK+9, OK+10
, OK+11, OK+12, CHS+2, RPT+1, OUT+1
>> X OK+7*
XQ XQT+11!, LOD+7*, OUT+2!
XQ( FIND+5*, CHS+1, CHS+2
XQ(1 FIND+7
XQBLD XQT+11!, CHK+3*, OUT+2!
XQDIC XQT+6, LOD+7*, SET+1, CHK+3~*, CHK+7, OK+1, OK+2, OK+3, OK+4, OK+9
, OUT+1*
>> XQEA LOD+4*, LOD+7*, OK+11, OK+12
XQEX OUT+2!
XQFL XQT+11!, LOD+4*, LOD+7, RPT+1*
XQI XQT+11!, FIND+5*, LOD+7*, CHS+1*, OUT+2!
>> XQII CHK+5*
XQJ XQT+11!, FIND+1*, FIND+5*, FIND+6, FIND+7, FIND+8, LOD+5*, LOD+7, CHS+1, CHS+2
, OUT+2!
XQK XQT+9, XQT+11!, FIND+1*, FIND+2*, FIND+6*, FIND+8*, LOD+7*, CHS+1*, CHS+2*, OUT+2!
XQL XQT+11!, LOD+5*, OK+9, OK+10, OK+11, OK+12, OK+13*, OUT+2!
XQM XQT+11!, FIND+1*, LOD+5, CHK+1, OUT+2!
XQMA XQT+11!, FIND+1*, LOD+7*
XQMN XQT+11!
XQN XQT+11!, FIND+1*, FIND+5*, LOD+2*, LOD+5, LOD+7, OUT+2!
XQN1 OUT+2!
XQNO1 XQT+11!
XQSIB XQT+11!
XQTL XQT+11!, LOD+7*, RPT+1*
XQTSV XQT+6*, XQT+10, XQT+11!, OUT+1, OUT+2!
XQTU XQT+11!, LOD+4*, CHK+5*, CHK+6, OUT+2!
XQU XQT+6*, XQT+8*, XQT+10, XQT+11!, CHS+1*
>> XQUR XQT+6*, XQT+7, XQT+8*, XQT+10, FIND+2, FIND+3, FIND+4*, FIND+5, FIND+7*, LOD+2
, LOD+3, LOD+4, LOD+8, CHK+8, OK+9, OK+10, OK+11, OK+12, CHS+2*, RPT+1
>> XQX FIND+3*, FIND+4
>> XQY XQT+6, XQT+9, LOD+5*, LOD+6, LOD+7*, LOD+8, CHK+1, CHK+2, CHK+4, CHK+5
, CHK+7, CHK+8*, CHK+9*, OK+1, OK+3*, OK+4, OK+5*, OK+6*, OK+7*, OK+8*
, OK+9, OK+10, OK+11, OK+12, OUT+1*
>> XQY0 XQT+6, OK+4*, OK+5, OK+6, OK+7, OK+8, OK+9, OK+10, OK+11, OK+12
, OUT+1*
>> ZTQUEUED LOD+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All