cross-stack globals, also, file inclusion

Rob Cozens rcozens at pon.net
Thu Oct 23 10:50:33 EDT 2003


Good morning, Richard.

I understand where you & Jacque are coming from storing constants as 
stack properties; but the more I think about it, the more I see the 
wisdom of Alex's global constants.


One can define the scope of variables:

	global myGlobalVariable
	local myLocalVariable
	myPrivateVariable;

why shouldn't one be able to define the scope of constants as well:


	global constant myGlobalPi = 3.14159265358979323846
	local constant myLocalPi = 3.14159265
	constant myPrivatePi= 3.1416

?

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list