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

LAPREINT.m

Go to the documentation of this file.
  1. LAPREINT ;SLC/BA- AUTO INSTRUMENT PRE-INIT ; 1/31/89 14:49 ;
  1. ;;V~5.0~;LAB;**45**;09/12/90 08:16
  1. BEGIN S U="^" D ASK
  1. END K DA,I,%
  1. Q
  1. ASK F I=0:0 W !,"Do you wish to clear out and replace inactive auto instrument entries" S %=1 D YN^DICN Q:% D INFO
  1. Q:%'=1
  1. K S DIK="^LAB(62.4," F DA=99:0 S DA=$O(^LAB(62.4,DA)) Q:DA'>99 D ^DIK
  1. Q
  1. INFO W !!,"Answering YES will wipe out all auto instrument entries >99.",!,"This will not effect entries 1-99 (entries for on-line instruments).",!
  1. Q