|
#11
|
|||
|
|||
|
> Another thought just occurred to me. Is it good <BR>
> or bad style to take advantage of the built-in <BR> > RPG logic cycle?<BR> > <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
|
|||
|
|||
|
> Upshot: recommend 10I 0 instead of 9B 0, <BR>
> and 5I 0 instead of 4B 0.<BR> Good points...should we consider binary as a candidate for the obsolete section? > lines in a subprocedure from about 10 icky <BR> Icky...is that a technical term? > C eval name = lib + '/' + > file + '(' + mbr + ')'<BR> Very elegant...requires V4R2? |
|
#13
|
|||
|
|||
|
> 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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | |
|
|