W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2003

local functions and variables

From: Per Bothner <per@bothner.com>
Date: Mon, 25 Aug 2003 22:02:55 -0700
Message-ID: <3F4AE9FF.6050601@bothner.com>
To: public-qt-comments@w3.org

The new 'local' predefined namespace prefix hints at the possibility of 
module-location definitions, but isn't quite there.  But only a few 
minor changes would be needed:

To: "The names of all variables and functions declared in a library 
module must be explicitly qualified by the target namespace prefix"
(in 4.1) add "or the predefined 'local" namespace prefix."

To section 4.7 Module Import add somewhere somethinga like: "Any 
variable or functions declarations using the prefix 'local' in the 
module to be imported are not imported.  Such definitions are only 
visible within the library module, and never confict with definitions in 
other modules."
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/
Received on Tuesday, 26 August 2003 01:01:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:13 UTC