Re: What's with the ¥ character?
Ray Horsley
Ray at LinkIt.Com
Tue Sep 15 18:58:35 EDT 2009
I remember a while back experiencing the bullet character on the Mac
"•" changing to the Japanese yen symbol when I moved scripts to
Windows. I hope this is helpful, but if not we can always ask Mr.
Cragg who knows Japan quite well having lived there on many occasions :)
Ray Horsley
LinkIt! Software
On Sep 15, 2009, at 11:22 AM, Lars Brehmer wrote:
> May I'm wrong, but I think there is something odd about the yen sign
> (¥)
>
> I have a pait of almost identical scripts and each one is applied
> to a custom property. Among other things, the script filters the
> custom property with a certain item.
>
> In the first case, the item will be a letter and a number (a1, b2,
> c4, h3, p1, etc.)
>
> In the second case, the item will be the same with a ¥ as the first
> character (¥a1, ¥b2, ¥c4, ¥h3,¥1 p1, etc.).
>
> get lineoffset(line z in tText, the catsGrund of this stack)
> put item 2 of line it in the catsGrund of this stack into tFilter --
> a1, b2, c4, h3, p1, etc. or ¥a1,¥ b2, ¥c4,
> ¥h3,¥1 p1, etc.--
> filter tempList with "*" & tFilter & "*"
> put the num of lines in templist into fld ("tn" & z)
>
> In the script applied to the custom property without the ¥ symbol,
> the script works. In the one with the ¥ sympol it doesn't work.
> Could this have something to do with how Rev deals with the ¥ char
> in a custom property?
>
> I'm just curious, because I've already worked around it using
>
> repeat for each line X in templist
> if tfilter is in item 6 in X or tfilter is in item 7 in X in L
> then put L & cr after zTemp
> end repeat
>
> It works fine and within a millisecond or two just as fast, but
> again, I'm curious about that ¥.
>
>
> Cheers!
>
> Lars
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list