• Subject: Re: How does a %SWITCH work in a CL program
  • From: "Rick Baird" <rbbaird@xxxxxxxxxxx>
  • Date: Thu, 14 May 1998 16:58:45 -0500
  • Organization: Premium Systems, Inc.

Venu,  

Not quite, the Xs in the switch condition %SWITCH(1XXXXXXX) means "It doesn't 
matter what this switch is set to".  In this case, all
that only matters is the condition of U1.  U2 thru U8 have no bearing on the 
condition.

Rick
 
> The %SWITCH in CL is used to control the ControlLevel indicators namely U1 
>thru
> U8. In your case, the CL program is checking whether U1=*ON and all other U
> indicators are off.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].