|
I think it is working perfectly fine. How would you have it work? Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Samuel J Lennon" <lennon_s_j@hotmai To: CODE400-L@midrange.com l.com> cc: Sent by: Fax to: code400-l-admin@mi Subject: Indent on "ElseIf" drange.com 01/11/2002 09:49 AM Please respond to code400-l [ 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 _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l or email: CODE400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l.
As an Amazon Associate we earn from qualifying purchases.
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.