I spent some time working on the Pascal version of Hamurabi today. I typed in the pseudo code and quickly converted it to a Pascal shell for Hamurabi.
The thing I liked about Pascal is how easy it is to convert my pseudo code to Pascal. For instance, “Handle Land Purchase, if any” can be translated to HandleLandPurchase in the main code and set up as a procedure like:
PROCEDURE HandleLandPurchase;
BEGIN
writeln(‘Handle Land Purchase’);
END;
It makes the code very readable, and breaks it up into workable sections, that help in the debugging process as we go.
—
50/51

Leave a Reply