|
The ellipse is used to continue a long variable or procedure name to a second line in the Calc specs. It is, as you know, also used to define long variable names. As others have pointed out, RPG IV has no continuation character for statements/expressions _except_ the + and - used to concatenate Literals that spill over onto a second line. -Bob Cozzi www.iSeriesTV.com Ask your Manager to watch iSeriesTV.com -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Turnidge, Dave Sent: Wednesday, September 13, 2006 1:17 PM To: RPG programming on the AS400 / iSeries Subject: RE: RPG Free - The end of the expression is expected BOY! That's frustrating... I know I tried it that way. Must have been something else wrong with my line at the time. Ok, let's adjust the question just a bit... I have seen code in messages that is followed by the ellipse. What is actually happening with that? Thanks, Dave -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Holden Tommy Sent: Wednesday, September 13, 2006 1:09 PM To: RPG programming on the AS400 / iSeries Subject: RE: RPG Free - The end of the expression is expected You don't use any type of continuation marker... It's simply 0344.00 IF %Scan (Dsdest : 'BCM') > 0 and Metro = 'N' 0345.00 or dsdest = 'Z'; Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Turnidge, Dave Sent: Wednesday, September 13, 2006 1:06 PM To: RPG programming on the AS400 / iSeries Subject: RPG Free - The end of the expression is expected Not a question I really WANT to ask...but, I want a two line IF statement. I'm ok if I can get it all on one line, but when I split it there's no go. I have tried ending with a '+', and with blank, and with '...'. Nuttin' works. Here's the line I'm trying to work with: 0344.00 IF %Scan (Dsdest : 'BCM') > 0 and Metro = 'N'... 0345.00 or dsdest = 'Z'; This, showing my last attempt, with the ellipse... Please be gentle... :-( Dave -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.