[fpc-pascal] Typed Constants vs. Variables

Richard Ward roward at mac.com
Mon Apr 6 03:37:08 CEST 2009

Where/why would one use a typed constant vs. a variable.  i.e.

  	myConst : double = 2.0*Pi;

	myVar : double = 2.0*Pi;

It seems to me the typed constant is superfluous and can potentially  
lead to bugs.

More information about the fpc-pascal mailing list