Go Back   System iNetwork Forums > Archived Forums > RPG > RPG Style

 
 
Thread Tools Display Modes
  #11  
Old 03-27-1998, 06:25 AM
Bryan Meyers
Guest
 
Posts: n/a
&gt; Another thought just occurred to me. Is it good <BR>
&gt; or bad style to take advantage of the built-in <BR>
&gt; RPG logic cycle?<BR>
&gt; <BR>

I hesitate to even reply to this one, Hans, because this discussion almost always evolves into a highly subjective religious argument. But, IMHO, there's nothing inherently bad (RPG style-wise) in using the cycle for those areas where it traditionally fits well...usually for reports or batch transaction processing. The cycle doesn't usually fit well at all for interactive processing. (Although I do remember the days before EXFMT...they were ugly).

Of course, usually someone feels obligated to mention that even if your coding style doesn't exploit the cycle, you can't eliminate it from your program, except within subprocedures.
  #12  
Old 03-27-1998, 06:34 AM
Bryan Meyers
Guest
 
Posts: n/a
&gt; Upshot: recommend 10I 0 instead of 9B 0, <BR>
&gt; and 5I 0 instead of 4B 0.<BR>

Good points...should we consider binary as a candidate for the obsolete section?

&gt; lines in a subprocedure from about 10 icky <BR>

Icky...is that a technical term?

&gt; C eval name = lib + '/' +
&gt; file + '(' + mbr + ')'<BR>

Very elegant...requires V4R2?
  #13  
Old 03-27-1998, 10:07 AM
Barbara Morris
Guest
 
Posts: n/a
> should we consider binary as a candidate for the obsolete
section?

I think so. There may be some applications around depending
on the weird (yup, that's a technical term too :) behaviour
of binary, but for new code I'd say to forget binary
altogether.

> Icky...is that a technical term?

Absolutely. For some reason they won't use it in the
manuals.

> [varying length fields] requires V4R2?

Unfortunately, yes. I wish we'd added it long ago - I never
suspected how powerful it would be.
  #14  
Old 03-27-1998, 11:24 PM
Muhammad Hussa
Guest
 
Posts: n/a
How to make Hyperlink like in Infoseeker

I often used infoseeker to extract required information, In infoseeker when we press enter on hyperlinks it lead to related paragraph, if any body known please tell me how we can implement this. Thanks
  #15  
Old 03-30-1998, 05:53 AM
Mike Kight
Guest
 
Posts: n/a
Style Guide Draft

Quick overview of draft looks good. Just one question Is there a place for standard error handling or should this be included in the Guide?
  #16  
Old 03-31-1998, 10:44 PM
Fernando
Guest
 
Posts: n/a
RRN

Imagine this...
I have a program that reads a keyed file. Is it possible to know the relative record number of the record i am processing?
I think yes, but how?
thanks.
Fernando
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:23 AM.