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

PXRRBUSY.m

Go to the documentation of this file.
  1. PXRRBUSY ;ISL/PKR - For long interactive reports let the user know the computer is busy. ;9/18/96
  1. ;;1.0;PCE PATIENT CARE ENCOUNTER;**3**;Aug 12, 1996
  1. ;Based on initial spinner developed by JVS.
  1. ;=======================================================================
  1. INIT(SPINCNT) ;Initialize the busy display components.
  1. S SPINCNT=0
  1. Q
  1. ;
  1. ;=======================================================================
  1. DONE(DTEXT) ;Write out the done message.
  1. W @IOBS,DTEXT,!
  1. Q
  1. ;
  1. ;=======================================================================
  1. SPIN(SPINTEXT,SPINCNT) ;Move the spinner.
  1. N QUAD
  1. I SPINCNT=0 W !!,SPINTEXT," "
  1. S SPINCNT=SPINCNT+1
  1. S QUAD=SPINCNT#8
  1. I QUAD=1 W @IOBS,"|"
  1. I QUAD=3 W @IOBS,"/"
  1. I QUAD=5 W @IOBS,"-"
  1. I QUAD=7 W @IOBS,"\"
  1. Q