× 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.


  • Subject: New Opcodes like %EOF and Debug
  • From: Brian Stapleton <brianstapleton@xxxxxxxxx>
  • Date: Thu, 2 Sep 1999 11:37:05 -0700 (PDT)

Good Afternoon;

I tried this:

   Read
   If     %EOF(FILE1) - *off
   Stuff
   Stuff
   EndIf

While In debug, I placed the cursor on the %EOF(File1) and it told me that
%EOF(File1) is undefined.

Is there a way that I can use Debug and test this value like I do a
program variable?



--- Buck Calabro <mcalabro@commsoft.net> wrote:
> Brian,
> 
> There are lots of new features in RPG - it'd be a long post if I
> included
> them all!  <grin>
> 
> The complete AS/400 library can be found online at:
> http://publib.boulder.ibm.com/html/as400/onlinelib.htm
> 
> The RPG IV reference manual can be found online at:
>
http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/QB3AGZ01/CCONTENTS
> 
> The section on BIFs can be found at:
> http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/QB3AGZ01/4.0
> 
> There are several RPG IV books on the market as well.  I've heard good
> things about Cozzi's.  Visit our moderator's site at
> http://www.midrange.com
> and order one via Amazon.com.  RPG IV is a modern programming language -
> you'll love it!
> 
> Buck Calabro
> Aptis; Albany, NY
> mailto:Buck.Calabro@aptissoftware.com
> 
> > -----Original Message-----
> > From:       Brian Stapleton 
> > Sent:       Wednesday, September 01, 1999 4:15 PM
> > To: RPG400-L@midrange.com
> > Subject:    New Opcodes like %EOF
> > 
> > Does anyone know what the new OP codes are?  Like in V4R3M0 I know
> that
> > you can leave the indicators off of a READ and test for Eof using -->
> IF 
> > %EOF = *ON
> > 
> > Is there one for READE?  What about others?
> > 
> > I think that I like the idea of no  indicators in RPG.
> > 
> > Brian Stapleton
> > 
> +---
> | 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
> +---
> 

===
Brian Stapleton
BrianStapleton@yahoo.com

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.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 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.