Re: stringContainsChars

Ty:

Ahem, bro, Jaws doesn't have an asc function.  However, u did just
give me an idea worth investigating further.

On 10/18/07, Littlefield, Tyler <tyler@xxxxxxxxxxxxx> wrote:
> if you're checking for alpha chars. you can do something like:
> if (char >= asc(a) && char <= asc(z) || char >= asc(A) && char <= asc(Z))
> it'll see if it's an alpha char if you compare it's ascii values
>
> Thanks,
> Tyler Littlefield.
> Vertigo head coder
> "My programs don't have bugs, just randomly added features."
> msn: tyler@xxxxxxxxxxxxx
> email: tyler@xxxxxxxxxxxxx
> aim: st8amnd2005
> web: tysdomain.com
> ----- Original Message -----
> From: "Jackie McBride" <abletec@xxxxxxxxx>
> To: <programmingblind@xxxxxxxxxxxxx>
> Sent: Thursday, October 18, 2007 10:02 AM
> Subject: Re: stringContainsChars
>
>
> > You're gonna need 2 clarify that for me a little, Ty--I'm not sure
> > what you're saying here.
> >
> > On 10/18/07, Littlefield, Tyler <tyler@xxxxxxxxxxxxx> wrote:
> >> Hello jacky,
> >> why not search on a range of ascii numbers?
> >> Thanks,
> >> Tyler Littlefield.
> >> Vertigo head coder
> >> "My programs don't have bugs, just randomly added features."
> >> msn: tyler@xxxxxxxxxxxxx
> >> email: tyler@xxxxxxxxxxxxx
> >> aim: st8amnd2005
> >> web: tysdomain.com
> >> ----- Original Message -----
> >> From: "Jackie McBride" <abletec@xxxxxxxxx>
> >> To: <programmingblind@xxxxxxxxxxxxx>
> >> Sent: Thursday, October 18, 2007 8:30 AM
> >> Subject: Re: stringContainsChars
> >>
> >>
> >> > See, Martin, I have this *major* problem--I'm too bleepin *lazy* to do
> >> > all that typing!  I do as little scripting/programming as possible due
> >> > to that l word also.  But sometimes u just gotta, I guess.
> >> >
> >> > On 10/17/07, Martin Slack <m.g.slack@xxxxxxxxxxxx> wrote:
> >> >> Your guess is as good as mine Jackie, but don't forget that you could
> >> >> probably define some string constants like
> >> >>
> >> >> Const
> >> >> alpha = "abcdefghijklmnopqrstuvwxyz"
> >> >>
> >> >> and use that as the appropriate parameter.
> >> >>
> >> >>   Caveat Emptor,
> >> >>
> >> >> Martin
> >> >>
> >> >>
> >> >> ----- Original Message -----
> >> >> From: "Jackie McBride" <abletec@xxxxxxxxx>
> >> >> To: <programmingblind@xxxxxxxxxxxxx>
> >> >> Sent: Thursday, October 18, 2007 1:43 AM
> >> >> Subject: Re: stringContainsChars
> >> >>
> >> >>
> >> >> > Thanks, Martin--I actualy figured it out--they sure don't make it
> >> >> > easy
> >> >> > by letting u search on such things as a-z, etc.  I was hoping things
> >> >> > could be a bit easier, but,
> >> >> > no!!!!  Why should *that* happen?  &, I agree w/Brian when he said
> >> >> > in
> >> >> > a later post that FS's docs leave a great deal to be desired.
> >> >> >
> >> >> > On 10/17/07, Martin Slack <m.g.slack@xxxxxxxxxxxx> wrote:
> >> >> >> Hi Jackie,
> >> >> >>
> >> >> >>   Both parameters are simple strings.  Parameter one is the string
> >> >> >> to
> >> >> >> search, and parameter two is a string containing all the characters
> >> >> >> that
> >> >> >> you
> >> >> >> want to search for.  If any one of those characters is in the other
> >> >> >> string,
> >> >> >> then success is returned.
> >> >> >>
> >> >> >>   hth
> >> >> >>
> >> >> >> Martin
> >> >> >>
> >> >> >>
> >> >> >> ----- Original Message -----
> >> >> >> From: "Jackie McBride" <abletec@xxxxxxxxx>
> >> >> >> To: <programmingblind@xxxxxxxxxxxxx>
> >> >> >> Sent: Wednesday, October 17, 2007 4:00 PM
> >> >> >> Subject: stringContainsChars
> >> >> >>
> >> >> >>
> >> >> >> > Just comin' out real quick 2 ask if any1 knows the syntax of the
> >> >> >> > StringContainsChars jaws scripting function--specifically, how
> >> >> >> > does
> >> >> >> > 1
> >> >> >> > format the list of characters?  I read the FSDN but it doesn't
> >> >> >> > mention
> >> >> >> > that.
> >> >> >> >
> >> >> >> > --
> >> >> >> > Jackie McBride
> >> >> >> > Please sign the Yahoo Accessibility petition at:
> >> >> >> > <http://www.petitiononline.com/yabvipma/petition.html>
> >> >> >> > & Check out my homepage at:
> >> >> >> > www.abletec.serverheaven.net
> >> >> >> > __________
> >> >> >> > View the list's information and change your settings at
> >> >> >> > http://www.freelists.org/list/programmingblind
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> __________
> >> >> >> View the list's information and change your settings at
> >> >> >> http://www.freelists.org/list/programmingblind
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Jackie McBride
> >> >> > Please sign the Yahoo Accessibility petition at:
> >> >> > <http://www.petitiononline.com/yabvipma/petition.html>
> >> >> > & Check out my homepage at:
> >> >> > www.abletec.serverheaven.net
> >> >> > __________
> >> >> > View the list's information and change your settings at
> >> >> > http://www.freelists.org/list/programmingblind
> >> >> >
> >> >> >
> >> >>
> >> >> __________
> >> >> View the list's information and change your settings at
> >> >> http://www.freelists.org/list/programmingblind
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Jackie McBride
> >> > Please sign the Yahoo Accessibility petition at:
> >> > <http://www.petitiononline.com/yabvipma/petition.html>
> >> > & Check out my homepage at:
> >> > www.abletec.serverheaven.net
> >> > __________
> >> > View the list's information and change your settings at
> >> > http://www.freelists.org/list/programmingblind
> >> >
> >> >
> >> >
> >> > --
> >> > No virus found in this incoming message.
> >> > Checked by AVG Free Edition.
> >> > Version: 7.5.488 / Virus Database: 269.15.0/1077 - Release Date:
> >> > 10/18/2007 9:54 AM
> >> >
> >> >
> >>
> >> __________
> >> View the list's information and change your settings at
> >> http://www.freelists.org/list/programmingblind
> >>
> >>
> >
> >
> > --
> > Jackie McBride
> > Please sign the Yahoo Accessibility petition at:
> > <http://www.petitiononline.com/yabvipma/petition.html>
> > & Check out my homepage at:
> > www.abletec.serverheaven.net
> > __________
> > View the list's information and change your settings at
> > http://www.freelists.org/list/programmingblind
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.488 / Virus Database: 269.15.0/1077 - Release Date:
> > 10/18/2007 9:54 AM
> >
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/programmingblind
>
>


-- 
Jackie McBride
Please sign the Yahoo Accessibility petition at:
<http://www.petitiononline.com/yabvipma/petition.html>
& Check out my homepage at:
www.abletec.serverheaven.net
__________
View the list's information and change your settings at 
http://www.freelists.org/list/programmingblind

Other related posts: