[jawsscripts] Re: Almost there with my pseudo array using the jss and jsm files

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 10 Oct 2018 15:54:36 +0000

Apologies if I say things you already know here, in an effort to avoid missing 
the answer...

When you get the error, see what is on the line you land on in the source file, 
and what is on the line above that if the actual line itself doesn't look 
problematic. Missing quote marks may also be able to cause this issue,
but knowing where the compiler stopped can help in finding those.

On Wed, Oct 10, 2018 at 11:25:48AM -0400, donbarrett1234@xxxxxxxxx wrote:
Thanks Doug; the last constant line description7=  has no comma. All the
prior ones have a comma after the quote.

Don


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of Doug Lee
Sent: Wednesday, October 10, 2018 11:12 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Almost there with my pseudo array using the jss
and jsm files

The common cause of that error message is an extra comma on the last
constant line.

On Wed, Oct 10, 2018 at 10:53:32AM -0400, donbarrett1234@xxxxxxxxx wrote:
Hi All,
 

As you might remember, I am adding to the VKSelect script in the
VKeyboard.jss and .jsm files in order to have 40 new characters available
using the insert+4 command in Jaws.

I have a total of 88 characters in the symbol= line of the jss file. As
discussed earlier, this shouldn't be a problem, as the number of characters
can go on for over 60KB without any problem.

I also have the requisite number of character descriptions in the .jsm file
divided among eight lines of descriptions.

When I compile, I get the error "expected another constant definition,"
which tells me that the script isn't seeing the same number of descriptions
as symbols.

I guess my questions involve the .jsm file.

Should each line except the last one have the exact number of descriptions?

Is there a limit to the number of description lines one can have in a jsm
file (I have gone from four to eight)?

Is line length an issue in jsm files?

Lastly, is there a character limit for description length?

I am just trying to figure out what might be wrong.

There are different numbers of descriptions on each line, but I wouldn't
think that would matter.

You all have been so helpful already; any thoughts would be much
appreciated.

 

Don

 

 

 



__________???

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

--
Doug Lee, Senior Accessibility Programmer 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
__________o?=

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


__________???

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

-- 
Doug Lee, Senior Accessibility Programmer
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 
http://www.freelists.org/list/jawsscripts

Other related posts: