After a little investigation I can report that arrays in JAWS script seem to be one-based. I'll take a look at the FSDN. Cheers, Andrew. On 8/02/2013 11:50 PM, Geoff Chapman wrote: > Hey Andrew. > > Given that whether it's zero or 1-based I'd have thought would be a fairly > relevant piece of information to know I'd have thought, do you think it'd be > worth letting fs know that this information is lacking? and to insure it's > in the fsDN as well if relevant? > > Do they often care to promptly repair information omissions like this? > > ----- Original Message ----- > From: "Andrew Hart" <ahart@xxxxxxxxxxxxx> > To: <jawsscripts@xxxxxxxxxxxxx> > Sent: Monday, February 04, 2013 11:56 AM > Subject: [jawsscripts] Re: how to use StringArray > > >> CHECK OUT >> >> http://www.freedomscientific.com/documentation/scripts/scripting-info.asp >> >> JAWS has had a For loop construct since JAWS 11 Update 1. You could use >> it like this: >> >> Var >> StringArray sNumbers, >> Int i >> sNumbers = New StringArray[10] >> for i = 1 To 10 >> sNumbers[i] = IntToString(i) >> EndFor >> >> I don't recall at the moment if JAWS script arrays are zero-based or >> one-based, so the For loop and assignment in the code example above >> might be slightly incorrect, but you get the idea. Unfortunately, FS >> neglect to mention this important bit of info on the page I referenced >> above. >> >> Hth, >> Andrew. >> >> On 4/02/2013 8:20 AM, Alfredo Holguin wrote: >>> can anyone help with an example of how to use StringArray. I think I >>> have the declaring StringArray down, however, I am used to being able >>> to loop through the array with a for loop. how would I be able to >>> loop through the array with a for loop (or any other loop, although I >>> prefer the for loop). if someone can put up an example, from >>> declaring the stringArray to looping and adding values to each array >>> element, I would greatly appreciate it. >>> sincerely, >>> Holguin >>> __________� >>> >>> View the list's information and change your settings at >>> //www.freelists.org/list/jawsscripts >>> >>> >>> >> >> >> __________� >> >> View the list's information and change your settings at >> //www.freelists.org/list/jawsscripts >> >> > > __________� > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > > __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts