Quote Originally Posted by WILL View Post
One last thing, you can do away with those extra parameters hanging off the end of your write and writeln procedures, they don't really do anything for you in this case and it's more of a C-type construct anyhow.
Actually...
I prefer this:
Code:
writeln ('  ', i);
...rather than:
Code:
writeln ('  '+inttostr(i));
They do the same thing. Writeln lets you do things like
Code:
writeln (3, ' divided by ', 2); // Will print "3 divided by 2"
you can use word "mod" to do the line change every 6 columns. For example "i mod 6=0" will return true on 0, 6, 12, 18...