message box (multiline) strangeness

Malte Brill revolution at derbrill.de
Wed Feb 16 18:14:17 EST 2005


Hi list,

I´ve experienced something weird...

create a blank stack
set the script to:

function test
   return paramcount()
end test

in the messagebox (single line)

put test(the loc of this stack,the loc of this stack)

returns 2

in the messagebox (multiline)

put test(the loc of this stack,the loc of this stack)

returns 2, BUT:

put test(the loc of this stack,the loc of this stack) into abc
put abc

returns 1

I´m a bit puzzled... calling the script from a button gives the correct 
result. Does anyone know what´s happening here?

Os X.2.6 Rev 2.2 and 2.5

Best,

malte


More information about the Use-livecode mailing list