David Burgun wrote:
From what you say below, I can understand why put x into me *may* not work, but not why:

set the text of me to x

doesn't work either?

Others may disagree, but I consider that a bug and have filed a report on it:

<http://support.runrev.com/bugdatabase/show_bug.cgi?id=3418>

If Transcript is to be learnable we must at least expect property settings to be consistent.

The "set" command must act like the "set" command, and "me" should resolve to the object reference when used in conjunction with "set".

In this case, even if it's an inherited HyperTalk behavior I believe it should be updated to be consistent. The future holds more newcomers than old HyperTalkers, and I see no benefit to sacrificing a much larger future to adhere to a bad practice used by very few people (if it all) in the past.

And there may be no conflict at all in honoring "set" consistently -- how did HyperCard handle such cases?


Also, why in the case where the handler is called from one place it works but if called from within another Handler it doesn't!

This seems related to the ambiguity of "me": sometimes it refers to the object, sometimes to the object's contents.

I'm not sure if this particular case is a bug or an inherited HyperTalk "feature" -- maybe Jacque knows?

If this is not how HyperTalk works I would encourage you to create a bug report for that one as well.

--
 Richard Gaskin
 Managing Editor, revJournal
 _______________________________________________________
 Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to