WARNING messages in MetaCard 1.4 and global variables

Alan Hewat, ILL Grenoble (starnet!apple!ill.fr!hewat)
19 Nov 1994 10:24:48 +0000

This mailing list is rather quiet, but we have 10 licences and are
quite active in using mc to develope GUI's for applications.

With version 1.4 we get lots of unwelcome WARNING messages
in the console window. Can we switch them off ?

The warnings are due to global variables not being explicitly
declared global in each script that uses them. Why isn't it
enough to declare them global once and for all, say in the script
of the parent stack ?

We never had these warnings in 1.3, and the applications worked OK.

And it is practically impossible to find the reason for some of the
warnings eg if mc complains about a "literal shadowing a global in
handler mouseUp. WHICH handler mouseUp - there are dozens.

Alan Hewat, ILL Grenoble, FRANCE (hewat@ill.fr) Fax (France=33).76.48.39.06