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

XUTMTEP.m

Go to the documentation of this file.
  1. XUTMTEP ;SEA/RDS - TaskMan: Toolkit, Edit Priority ; ; [ 04/02/2003 8:29 AM ]
  1. ;;8.0;KERNEL;**1002,1003,1004,1005,1007**;APR 1, 2003
  1. ;;8.0;KERNEL;;Jul 10, 1995
  1. ;
  1. EDIT ;Edit task's priority
  1. N DIR
  1. S DIR(0)="NO^1:10"
  1. S DIR("A")="PRIORITY"
  1. I $P(ZTSK(0),U,15) S DIR("B")=$P(ZTSK(0),U,15)
  1. S DIR("?")="^D HELP^XUTMTEP"
  1. S DIR("??")="^D HELP2^XUTMTEP"
  1. D ^DIR K DIR
  1. I $D(DTOUT) W $C(7)
  1. I $D(DIRUT) Q
  1. S $P(ZTSK(0),U,15)=X
  1. Q
  1. ;
  1. HELP ;EDIT--? help for prompt
  1. W !!?5,"Answer must be an integer between 1 and 10."
  1. Q
  1. ;
  1. HELP2 ;EDIT--?? help for prompt
  1. W !!?5,"Answer will set the starting priority for the task."
  1. W !?5,"Answer 10 to specify high priority, 1 for low, etc."
  1. W !?5,"If no priority is specified, site default will be used."
  1. Q
  1. ;