[jawsscripts] Re: Question on variable/functions and scope ranges of types

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 15 Oct 2019 03:43:12 +0000

The well documented way: Include jsd entries for the functions:

:function blah
:returns string

The less documented way: Include lines like this above where the function is 
used:

prototype string function blah(int i, string byRef s)

On Mon, Oct 14, 2019 at 09:00:13PM -0600, Peter Torpey 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.


I have a script file with an include statement at the top that references a
separate jsl file containing some custom functions.


Within the jsl file I reference some functions in the original jss file and
am trying to capture return values from these functions.



Problem: When I reference functions within the jss file, functions that
return string values, for example, are seen as functions that return integer
values within the jsl file.



What is the proper way of making the scope of variable types sensible?



Thanks for any suggestions.



--Pete





__________???

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: