I see i big use for it. boolean values are easier / faster to test than
string comparisons.
Michael B�rge wrote:
> this is from an older version of the api (don't know which one exactly):
>
> if ((this.win32=(ua.indexOf("win")>-1))) this.platform="win32";
> else if ((this.mac=(ua.indexOf("mac")>-1))) this.platform="mac";
> ^^^^^^^^^^^
> it buried in the code, but it is (was) there.
> it could be done a bit more readable.
> i would like to have it (just for convenience), but if nobody else sees a
> use for it, i won't start a big discussion here.
>
> --
> Michael Buerge
>
> > I don't remember ever having an is.mac. Regardless, we use the
> > syntax:
> > is.platform=="mac"
> >
> >
> > --
> > Robert Rainwater
> >
> >
> > On 6/8/2001, 4:37:47 PM EST, Michael wrote about "[Dynapi-Dev] is.mac":
> >
> >> what happened to is.mac?
> >
> >> it had been added for convenience some time ago and now its gone.
> >> could somebody put it back?
> >
> >> --
> >> Michael Buerge
> >
> >
> >> _______________________________________________
> >> Dynapi-Dev mailing list
> >> [EMAIL PROTECTED]
> >> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> >
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev