× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



[ Converted text/html to text/plain ]

I have code like this:

C If RRDTVSUB <> *Zero

C Eval Work_Date = RRDTVSUB

C

C ElseIf RROVDT <> *Zero

C Eval Work_Date = RROVDT

C

C Else

C If RROVCD <> *blanks

C Movel RROVCD Work_Code

C Endif

C Endif

If I indent it it looks like this:

C If RRDTVSUB <> *Zero

C | Eval Work_Date = RRDTVSUB

C

C | ElseIf RROVDT <> *Zero

C | Eval Work_Date = RROVDT

C

C Else

C | If RROVCD <> *blanks

C | | Movel RROVCD Work_Code

C | Endif

C Endif

Shouldn't the ElseIf be at the same level as the preceeding If? That is, the
ElseIf shouldn't be indented? Opinions?

------------------------------------------------------------------------------
Get your FREE download of MSN Explorer at http://explorer.msn.com[1].

===References:===
  1. http://go.msn.com/bql/hmtag_etl_EN.asp



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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.