Opcode

img_583936cd861e3

Structured Loops in CLLE (CLP For “Oldsters” :)

For many years we RPG coders were constantly reminded (pestered, really) about structured coding techniques. We were harassed about avoiding goto’s (an RPG II programmer’s best friend), replacing them with structured blocks (if, else, end, do, etc. – but don’t go too deep!) – and to emphasize subroutines (later functions and procedures). And while this […]

Continue Reading

Free Format RPG ILE Alternatives to the TIME Opcode

Here’s one of the free format BIFs I can never remember as far as syntax is concerned. Maybe if I keep it here I will be able to find it again :). I copied some of this from http://www.bmeyers.net/faqs/frequently-asked-questions/41-free-format-alternatives-to-time (the Q&A part). Q. In fixed format RPG IV, I used the TIME operation code to […]

Continue Reading