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

SROOPRM1.m

Go to the documentation of this file.
  1. SROOPRM1 ;B'HAM ISC/KKA ; UPDATE NORMAL O.R. HOURS ; 28 SEPT 1992 11:48 am
  1. ;;3.0; Surgery ;;24 Jun 93
  1. HELP ; help message for incorrect responses
  1. W @IOF,!,?8,"Enter the number or range of numbers you want to edit.",!,?8,"Examples of proper responses are listed below:",!!,?12,"1. Enter ""A"" to update all information.",!!,?12,"2. Enter a number (1-3) to update information"
  1. W !,?12," in that field. (For example, enter ""2"" to",!,?12," update the Normal End Time.)",!!,?12,"3. Enter a range of numbers (1-3) separated",!,?12," by a "":"" to enter a range of information."
  1. W !,?12," (For example, enter ""1:2"" to update Normal",!,?12," Start Time and Normal End Time.)"
  1. W !!,?12,"4. Press RETURN to edit the next consecutive",!,?12," day of the week."
  1. W !!,?12,"5. Enter an ""^"" followed by a day of the week",!,?12," to edit that particular day. (For example,",!,?12," enter ""^Friday"" to edit Friday's schedule)"
  1. W !!,?8,"Press RETURN to continue or ""^"" to quit: " R SRCON:DTIME I '$T!(SRCON["^") S SRSOUT=1
  1. Q
  1. T ; select TUESDAY or THURSDAY
  1. W !!,"Update information for Tuesday or Thursday ? TUESDAY// " R X:DTIME Q:'$T!("^")
  1. S:X="" X="TU" S X=$E(X,1,2) I X'="TU",X'="TH" W !!,"Enter 'TU' to update information for Tuesday, or 'TH' to update information",!,"for Thursday." G T
  1. Q
  1. S ; select SATURDAY or SUNDAY
  1. W !!,"Update information for Saturday or Sunday ? SATURDAY// " R X:DTIME Q:'$T!("^")
  1. S:X="" X="SA" S X=$E(X,1,2) I X'="SA",X'="SU" W !!,"Enter 'SA' to update information for Saturday, or 'SU' to update information",!,"for Sunday." G S
  1. Q