Re: Smile quirks
Re: Smile quirks
- Subject: Re: Smile quirks
- From: Emmanuel <email@hidden>
- Date: Mon, 19 Jul 2004 08:48:30 +0200
At 9:17 PM -0600 18/07/04, cheshirekat wrote:
>
set the offP to (the offset of the brk in (the twoValues))
>
set {the firstString, the secondString} to {(characters 1 thru (the offP
>
- 1) of the twoValues) as text, (characters (the offP + 1) thru -1 of the
>
twoValues) as text}
>
Smile:
>
log {the firstString, the secondString}
>
{"G r e g o r i a n C h a n t s", "R e g i n a C a e l i"}
>
>
Smile inserts a space between each character. Any hints why?
Sure. "characters [blah] as text" use the text item delimiters, and the text item delimiters in your configuration are not properly set to "" (the default).
On one hand, it would be safer programming to set explicitly the text item delimiters before you use "them".
On the other hand, you might want to use "text 1 thru (offP-1)" instead of your construction, which would not involve the text item delimiters at all.
On the third hand, we authors of Smile are doing our best to reset the text item delimiters to the default value whenever required, since we are aware of this kind of problem. Could you please tell us what version of Smile you are using?
Thanks.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Smile quirks (From: cheshirekat <email@hidden>) |