Trevor-

Saturday, February 10, 2007, 10:24:07 AM, you wrote:

> variable.  For example, if you do this:

> on mouseUp pMouseBtnNo
>      put revXMLNodeContents(theNonExistentXMLTreeID,"no node") into
> theContent
>      put it & cr & theContent
> end mouseUp

Actually, that's not valid syntax. You'll get a compiler error if you
turn on explicitVars. There's no "it" variable at the time you try to
display it because you've explicitly put the value into theContent.
Try this instead:

on mouseUp pMouseBtnNo
   local theNonExistentXMLTreeID

   get revXMLNodeContents(theNonExistentXMLTreeID, "no node")
   put it & cr & the result
end mouseUp

> Whereas with your interesting trick it would be empty I believe.

It's not a trick I made up - it's just the way things work.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to