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

XUTMTED.m

Go to the documentation of this file.
  1. XUTMTED ;SEA/RDS - TaskMan: Toolkit, Edit Description ; ; [ 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 the description field of the task
  1. N DIR
  1. S DIR(0)="F^3:70^D XFORM^XUTMTED"
  1. S DIR("A")="DESCRIPTION"
  1. I $P(ZTSK(0),U,13)]"" S DIR("B")=$P(ZTSK(0),U,13)
  1. S DIR("?")="^D HELP^XUTMTED"
  1. D ^DIR K DIR
  1. I $D(DTOUT) W $C(7)
  1. I $D(DIRUT) Q
  1. S $P(ZTSK(0),U,13)=X
  1. Q
  1. ;
  1. XFORM ;EDIT--Input transform for description
  1. I X=U Q
  1. N ZT
  1. F ZT=0:0 Q:X'[U S X=$P(X,U)_"~"_$P(X,U,2,999)
  1. Q
  1. ;
  1. HELP ;EDIT--? help for prompt
  1. W !!?5,"Answer must be free text from 3 to 70 characters in length."
  1. W !?5,"Answer with a description of the task."
  1. W !?5,"Answer should begin with the package of origin."
  1. Q
  1. ;