Guru: Procedure Driven RPG With Linear-Main Programs
September 11, 2023 Gregory Simmons
A number of years ago, I started migrating away from writing subroutines and started writing procedures instead. Yes, quite often, this was simply because it was “new and shiny” and served no real benefit from their subroutine counterpart. However, as the language and I evolved, I found that my method of approaching every project was what I call procedure driven RPG.
Let’s have a look at a simple RPG program. In this little program, to give it a purpose, I’m going to have a little fun with math and demonstrate the Fibonacci sequence:
1 **Free 2 Dcl-s i Uns(3) Inz(3);… Read more