words matter

Jim Bufalini jim at visitrieve.com
Fri Sep 4 16:30:19 EDT 2009


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




More information about the Use-livecode mailing list