|
Hello Albert,
Here's what I think you want to accomplish:
Cmd Prompt( 'Schedule monitor' )
Parm MONITOR E001 +
Max( 7 ) +
Prompt( 'Monitor duration' )
E001: Elem *Char 1 +
Dft( *NONE ) +
SpcVal(( *NONE 0 ) +
( *MON 1 ) +
( *TUE 2 ) +
( *WED 3 ) +
( *THU 4 ) +
( *FRI 5 ) +
( *SAT 6 ) +
( *SUN 7 )) +
Expr( *Yes ) +
Rstd( *Yes ) +
Prompt( 'Schedule day' )
Elem *Time +
Dft( *CURRENT ) +
SpcVal(( *CURRENT 999999 )) +
Expr( *Yes ) +
Prompt( 'Start time' )
Elem *Time +
Dft( *CURRENT ) +
SpcVal(( *CURRENT 999999 )) +
Expr( *Yes ) +
Prompt( 'End time' )
Elem *Int2 +
Dft( 5 ) +
Range( 1 999 ) +
Expr( *Yes ) +
Prompt( 'Count limit' )
- let me know if I got it wrong...
Best regards,
Carsten Flensburg
----- Original Message -----
From: "York, Albert" <albert.york@nissan-usa.com>
To: <MIDRANGE-L@midrange.com>
Sent: Friday, November 23, 2001 7:33 PM
Subject: Help setting up a command
> I'm trying to create a command with a parameter that has the following
> components: day of the week (*MON, *TUE, etc), start time (0700, 0830,
etc),
> end time, and a number between 0 and 999. I want to allow up to 7 entries.
> Can anyone tell me how can I set this up?
>
> Thanks,
>
> Albert York
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.