set selectedText?

Ken Ray kray at
Thu Nov 18 18:02:56 EST 2004

On 11/18/04 10:05 AM, "Kaveh Bazargan" <kaveh at> wrote:

> While we are on this topic, why is it that I can say:
> put selectedLine of the target into temp
> delete temp
> but not
> delete selectedLine of the target
> What is the fundamental point I am missing?

Well, first of all "selectedLine" is a global property, which returns
something like "line 1 of field 2". You would think you can just do:

  delete the selectedLine

-- but you can't. I'm not exactly sure why (perhaps it is resolving the
value of that line of data), but it *does* work if you "do" it, as in:

  do "delete" && the selectedLine


Ken Ray
Sons of Thunder Software
Web site:
Email: kray at

More information about the Use-livecode mailing list