[jawsscripts] Using Import and Use keywords

  • From: Csaba Godo <arpadhazi68.jawsul@xxxxxxxxx>
  • To: JAWSScripts List <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 16 Dec 2017 20:01:35 +0100

Hi guys,

could me  somebody explain the  difference between the "import" and the 
"use" keywords? When to use the import keyword, and when the "use"? 
Honestly speaking I do not understand clearly what  FSDN write about it.

I have wrote some JAWS Script function libraries, which are 
using/referencing each other. Like follows:

Library.OS.jss uses Library.String.jsb, Library.Controls.jsb, and 
Library.Window.jsb.
The Library.Window.jss uses Library.String.jsb, and Library.Controls.jsb.
Library.Controls.jss uses Library.String.jsb

And my rewritten default.jss uses  Library.OS.jsb, Library.Window.jsb, 
Library.Controls.jsb,  and Library.String.jsb.

Can cause problems duplicate referencing? How could I optimize it? Could 
I replace the use keyword in some cases with the import keyword? What is 
the best practice?

Thanks in advance for explanations.

Csaba

__________�

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

Other related posts:

  • » [jawsscripts] Using Import and Use keywords - Csaba Godo