[jawsscripts] Re: What Use modules should contain at their tops?

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 22 Nov 2009 11:40:41 +1100

ah, yep, thanks doug for this response eh.  confirmed.

I have learned something new again.

Geoff C.

----- Original Message ----- 
From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, November 21, 2009 11:14 PM
Subject: [jawsscripts] Re: What Use modules should contain at their tops?


> You only need Include lines in a file for constants that are also used
> in that file.  So if your x.jss file uses True, you'll need to include
> hjconst.jsh where True is defined.
>
> On Sat, Nov 21, 2009 at 04:31:45PM +1100, Geoff Chapman wrote:
> Scripters.  Another ignorant boring newby question I'm afraid.
> I'm just wanting to clarify,
> when constructing a special helper module that you wish to attach to a big
master script file like the IE file,
> with a use statement at it's top, like
> "use "TestModule.jsb", for example,
> does one need to include in that Test module's header information, all the
general default type lines which usually get included when one is building a
total master script file for an application?
> such as:
> Include "HJConst.jsh"
> Include "HJGlobal.jsh"
> Include "Common.jsm",
>
> or, because they are already in the master file, there's no need to
include them again in the test module jss file?
> And in fact, would it be bad/dangerous to do so?
> or just unnecessary.
>
>
> Thanks very much for any clarification.
>
> Geoff c.
>
> __________?
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
> -- 
> Doug Lee, Senior Accessibility Programmer
> SSB BART Group - Accessibility-on-Demand
> mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
> "While they were saying among themselves it cannot be done,
> it was done." --Helen Keller
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: