words matter

François Chaplais francois.chaplais at mines-paristech.fr
Fri Sep 4 16:53:54 EDT 2009


Le 4 sept. 09 à 22:30, Jim Bufalini a écrit :

> François Chaplais wrote:
>
>> Is this perfectly rational (revolution-wise of course)?
>>
>> If I do
>>
>> put empty into myText
>> put "aa" into item 1 of myText
>> put "bb" into item 2 of myText
>> answer myText
>>
>> I get (as expected)
>> "aa,bb"
>>
>> while, if I do
>>
>> put empty into myText
>> put "aa" into word 1 of myText
>> put "bb" into word 2 of myText
>> answer myText
>>
>> I get
>> "aabb"
>> (while I would expect "aa bb").
>>
>> ?
>>
>>
>> this is revStudio 3.5 gm-2 (and maybe my brains are still in HC)
>
> I've confirmed this. Maybe not rational, perfectly or otherwise. ;-)  
> But, as
> a simple work around, you can:
>
> set itemdel to space
> put "aa" into item 1 of myText
> put "bb" into item 2 of myText
>
> And you will get "aa bb"
>
> Then put word 1 of myText into myWord will give you "aa"
>
> Aloha from Hawaii,
>
> Jim Bufalini
>

Thanks for the confirmation. So some chunks are more equal than  
others...

cheers,
	François




More information about the use-livecode mailing list