[jawsscripts] Re: how to use StringArray

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 12 Feb 2013 01:00:23 +1000

Your not thinking of course that I'm gunna know the answer to such a 
technical query are you Jim? hahahaha.

But someone up here must....



----- Original Message ----- 
From: "Jim Snowbarger" <Snowman@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Sunday, February 10, 2013 12:02 PM
Subject: [jawsscripts] Re: how to use StringArray


> Nah, let other people stumble on it too.
>
> Just curious, If you rite a function that accepts a string array argument,
> can that function determine the number of strings in the array?  Or, would
> you use the ForeEach construct to enumerate them.
>
>
>
> ----- Original Message ----- 
> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Friday, February 08, 2013 7:50 AM
> Subject: [jawsscripts] Re: how to use StringArray
>
>
> 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
> 

__________�

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

Other related posts: