Re: [foxboro] HLBL question

  • From: steve.shimp@xxxxxxxxxxxxxx
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Tue, 6 Jan 2004 08:12:57 -0500

You'll need to ensure that your precompiler command doesn't otherwise cause
a syntax error.  You'll therefore need to include and #endif as below:
      If mode =1 then
            code
            code
      Elseif mode=2 then
            code
            code

#IfDEF bad

      Elseif mode=3 then
            code
            code
#endif
      endif;

Steve Shimp
Maintenance & Systems Engineer
ExxonMobil Paulsboro Lube Plant
Phone: (856)224-5059    Cell: (609)820-8501     Fax: (856)224-5030
Email:  steve.shimp@xxxxxxxxxxxxxx



                                                                                
                        
                      Ken.E.Moore@xxxxxxxxx                                     
                        
                      om                             To:      
foxboro@xxxxxxxxxxxxx                     
                      Sent by:                       cc:                        
                        
                      foxboro-bounce@freeli          Subject: [foxboro] HLBL 
question                   
                      sts.org                                                   
                        
                                                                                
                        
                                                                                
                        
                                                                                
                        
                      01/06/04 08:01 AM                                         
                        
                      Please respond to                                         
                        
                      foxboro                                                   
                        
                                                                                
                        
                                                                                
                        




Hi folks,

Can anyone tell me if the following code will work okay?
Don't worry about syntax errors etc, my main question is
about the If defined , in the middle of the if statements.




      If mode =1 then
            code
            code
      Elseif mode=2 then
            code
            code

#IfDEF bad

      Elseif mode=3 then
            code
            code

      endif



thanks,

Ken Moore
NSCC-Wdrf Plant



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________


_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html

foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave





 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: