|
I don't like line continuation characters. I think that explicit line endings are unambiguous and trivially easy to do. Here are a few lines I snagged from some programs that I am working on at the moment that need to wrap to the next line in some clean way. fprintf(LogFile,"\nDevice duration %10.6lf, IO Duration %10.6lf, Utilization = %5.2lf\n", DevDuration, IODuration, Utilization ); if (cache2->NextAvailRow == cache2->MaxSegments) {cache2->NextAvailRow = 0; // refine this to a least popular or least recently used algorithm // satellite numbers fscanf(input, "+ %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i \n",&Record3.NbrOfSats, &Record3.SatArray[0], &Record3.SatArray[1], &Record3.SatArray[2], &Record3.SatArray[3], &Record3.SatArray[4], &Record3.SatArray[5], &Record3.SatArray[6], &Record3.SatArray[7], &Record3.SatArray[8], &Record3.SatArray[9], &Record3.SatArray[10], &Record3.SatArray[11], &Record3.SatArray[12], &Record3.SatArray[13], &Record3.SatArray[14], &Record3.SatArray[15], &Record3.SatArray[16]); I have written production systems in Fortran, Fortran 4, RPG, RPG II, RPG III, C, COBOL, Assembler (various), PL/I, MI (System/38 and AS/400), and BASIC. There were probably others but I forget now - I'm pretty old :) Richard Jackson Richard Jackson and Associates Ltd. IBM Business Partner mailto:richardjackson@richardjackson.net http://www.richardjacksonltd.com Telephone: 1 (303) 808-8058 -|-----Original Message----- -|From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On -|Behalf Of John Taylor -|Sent: Thursday, November 02, 2000 7:11 PM -|To: RPG400-L@midrange.com -|Subject: Re: Is this the Free-Format that we asked for? -| -| -|Richard, -| -|Thank you for taking the time to elaborate on your statement. -| -|> If the explicit statement terminator is not available, statements either -|> trickle off the right for a long ways (hard to read, understand, view, -|etc) -|> or their meaning is not ambiguous - they may be interpreted in multiple -|> ways. Some of the rules needed to make the statement have a definite -|> meaning may be less desirable than the semicolon. -| -|I just don't see any evidence to support this. Have you had an opportunity -|to use a language that doesn't require an explicit statement -|terminator? If -|so, did you really notice any of the aforementioned problems.? I have a -|number of years of experience using non-terminated languages -|under my belt, -|but I haven't run across those issues. -| -| -|Regards, -| -|John Taylor -|Canada -| -|+--- -|| This is the RPG/400 Mailing List! -|| To submit a new message, send your mail to RPG400-L@midrange.com. -|| To subscribe to this list send email to RPG400-L-SUB@midrange.com. -|| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. -|| Questions should be directed to the list owner/operator: -|david@midrange.com -|+--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.