[jawsscripts] Re: Include vs use

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 21 Oct 2019 23:06:21 +0000

Include loads source in at compile time, as if the included file is part of the 
current file. The result all comes out in a single jsb file when compiled.

Use loads another jsb file at run time, so both jsb files are simultaneously 
executing. You don't even have to have jss source for the jsb file you load 
with that one.

On Mon, Oct 21, 2019 at 09:20:03PM +0000, Sean Farrow wrote:
CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


Hi,
Is there a difference between include vs use.
I'm looking at some scripts and they have some jsl files that are usinghte 
include syntax and I feel they should be using the use syntax, but I wondered 
what the actually differences are in practice, if any.

Any help appreciated.

Thanks,
Sean.

__________???

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

-- 
Doug Lee, Lead Accessibility Architect
Level Access - over 1,000 organizations trust us to help them achieve and 
maintain digital accessibility compliance!
mailto:Doug.Lee@xxxxxxxxxxxxxxx  http://www.LevelAccess.com
"While they were saying among themselves it cannot be done, it was done." 
--Helen Keller
__________�

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

Other related posts: