Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: XTLKKWLD

XTLKKWLD.m

Go to the documentation of this file.
  1. XTLKKWLD ; IHS/OHPRD/ACC,ALB/JLU,SFISC/JC- DRIVER ROUTINE FOR "AND"ING INVERTED LIST SEARCHES ;07/22/93 15:48
  1. ;;7.3;TOOLKIT;;Apr 25, 1995
  1. ; XTLKDESC,XTLKH,XTLKMULT,XTLKREF0,XTLKSAY ARE PASSED IN AND SHOULD NOT
  1. ; BE KILLED
  1. ; XTLKKSCH,XTLKX ARE KILLED BY XTLKKWL
  1. DSPLYD ; DISPLAY CODE AND TEXT FOR DIAGNOSIS
  1. Q:XTLKSAY=-1 S XTLKPC=3 G DSPCOM
  1. DSPLYO ; DISPLAY CODE AND TEXT FOR OPERATION/PROCEDURE
  1. Q:XTLKSAY=-1 S XTLKPC=4 G DSPCOM
  1. DSPCOM ; COMMON DISPLAY CODE
  1. W:XTLKMULT $J(XTLKH,4),": "
  1. W $P(@(XTLKREF0),"^",1)," ","(",$P(^(0),"^",XTLKPC),")",! S XTLKDESC=$S($D(^(1)):^(1),1:"<no long description available>")
  1. D DSPDESC^XTLKKWL1
  1. Q
  1. ;
  1. DGEN W:XTLKMULT $J(XTLKH,4),": "
  1. W $P(@(XTLKREF0),"^",1)," ","(",$P(^(0),"^",1),")",!
  1. I $D(@XTLKREF0),$D(DIC("W")) X DIC("W") W ! Q