Hi Geoff,

actually the MC-help says that variabels have to be declared before
using them in matchtext(...)

> In the docs, it says to be sure to initialize variables before using them to
> store matches found with MatchText. Yet the following works:
> 

local tNeverInitialized ###!!! this is what the help means !!!
on mouseUp
   get matchText("test this","(.*) ",tNeverInitialized)
   put tNeverInitialized -- puts test , not reliable, see below....
end mouseUp

> Any ideas?

Sometimes some things work like not expected ;-), even in MC...
(in a good or bad manner...)

Fact is: NEVER rely on these anomalies !!!!
I did once and the shit done hit the fan...


Hope this helps.



Regards

Klaus Major <[EMAIL PROTECTED]>
MetaScape GmbH


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to