List Info

Thread: Re: XPCOM Helpers....




Re: XPCOM Helpers....
user name
2007-03-29 21:57:36
well my component sees all of the included functions within the external files... but each file it self does not have access to the other files... they complain that things are not defined...
Re: XPCOM Helpers....
user name
2007-03-30 07:56:24

Daniel Aquino wrote:

> well my component sees all of the included functions
within the 
> external files... but each file it self does not have
access to the 
> other files... they complain that things are not
defined...


All the files included in a single context will be
accessible in that 
context.

If an included file needs to access functions in another
included file, 
then that file it needs to access needs to be included
first.

  include("a");
  include("b");

"b" has access to "a".

--pete

-- 
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813

_______________________________________________
Jslib mailing list
Jslibmozdev.org
http://mozde
v.org/mailman/listinfo/jslib

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )