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

Source Information

Source file <XQT.m>

Call Graph

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

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Kernel 2 XQ  XQT4  

Entry Points

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

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?5,"See 'Menu Templates' options for more information."
  • Line Location: XQT+6
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
  • Variable: %
  • Timeout: DTIME
  • 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+7, XQT+9*
^VA(200 - [#200] FIND+5, LOD+2, LOD+5, LOD+7, SETU+1, CHK+5
^XUSEC( OK+6
^XUTL("XQ" XQT+9*, 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+8
LOD XQT+8
OK LOD+7
OUT XQT+6, XQT+8, LOD+2
RPT LOD+7
SET CHK+7
SETU CHK+3

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% XQT+10!, CHK+5*, OK+3*, OK+4, OK+7, CHS+2*, OUT+2!
DT LOD+4
DTIME CHS+2
DUZ XQT+7, XQT+9, 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+5, 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+10!, LOD+7*, OUT+2!
XQ( FIND+5*, CHS+1, CHS+2
XQ(1 FIND+7
XQBLD XQT+10!, CHK+3*, OUT+2!
XQDIC XQT+5, 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+10!, LOD+4*, LOD+7, RPT+1*
XQI XQT+10!, FIND+5*, LOD+7*, CHS+1*, OUT+2!
>> XQII CHK+5*
XQJ XQT+10!, FIND+1*, FIND+5*, FIND+6, FIND+7, FIND+8, LOD+5*, LOD+7, CHS+1, CHS+2
OUT+2!
XQK XQT+8, XQT+10!, FIND+1*, FIND+2*, FIND+6*, FIND+8*, LOD+7*, CHS+1*, CHS+2*, OUT+2!
XQL XQT+10!, LOD+5*, OK+9, OK+10, OK+11, OK+12, OK+13*, OUT+2!
XQM XQT+10!, FIND+1*, LOD+5, CHK+1, OUT+2!
XQMA XQT+10!, FIND+1*, LOD+7*
XQMN XQT+10!
XQN XQT+10!, FIND+1*, FIND+5*, LOD+2*, LOD+5, LOD+7, OUT+2!
XQN1 OUT+2!
XQNO1 XQT+10!
XQSIB XQT+10!
XQTL XQT+10!, LOD+7*, RPT+1*
XQTSV XQT+5*, XQT+9, XQT+10!, OUT+1, OUT+2!
XQTU XQT+10!, LOD+4*, CHK+5*, CHK+6, OUT+2!
XQU XQT+5*, XQT+7*, XQT+9, XQT+10!, CHS+1*
>> XQUR XQT+5*, XQT+6, XQT+7*, XQT+9, 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+5, XQT+8, 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+5, 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