|
--- geir.kildal@xxxxxxxxxxxxxx wrote: > Just an example on IF's in COBOL: > > > IF A = X > IF B = Y > IF C = Z > DO SOMETHING > END-IF > END-IF > END-IF. > > The END-IF's just make the code easier to read.... But it appears that this is possible: IF A = X IF B = Y IF C = Z DO THIS END-IF IF D = Q DO THAT END-IF ELSE (this is B NOT = Y) IF K = M do the dew END-IF END-IF END-IF. Can you do this kind of nesting without using the END-IF? If so, how? __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
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.