1. Global variables (Re: fonts - Reply)
I, too, came to use global variables in Pascal, but
with a twist.
For instance, for getting the command line parameters,
infile, outfile, switches, etc. For the purpose
I have a global *record* ("structure" in C), like this:
var args record infile,outfile: string;
switch: array[1.. ...] of string
end;
Keeping them as variables of global records, rather than
lone variables, helps falling into the dreaded
spaghetti bowl.
Not that I advocate the practice. I only came to find it
much more convenient than passing endless lists of
parameters to procedures.
In Euphoria, it's even easier.