uh, maybe something a little simpler here...
try "the" selectedLine (w/o the quotes, of course)...
selectedLine is a property, and must be preceded by the word "the" when used.
On Nov 18, 2004, at 5:26 PM, Martin Baxter 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? --
Kaveh Bazargan
Well, er, let's see ...
The target will presumably be whatever you just clicked.
Suppose the target is an object that has lines (eg a field) and clicking on
it results in your first script executing , then temp would contain a
string of the form : "line n of field x"
so in the first example, the second line evaluates to:
delete line n of field x
which is OK syntax
However in the second example, if the target is field x, then the statment
would be
delete line n of field x of the target
Or: delete line n of field x of field x
Field x can't be the owner of field x. To be the owner of field x, the target would have to be a card or a group or a stack.
But if the script ran because you clicked the card for instance, the statement would mean:
delete selectedline of card n
cards don't have selectedlines so selectedline so I would expect an error:
===
Having said all that, I can't actually remember the last time I used "the
target" for anything, it's not part of my scripting style, trying to answer
your question has maybe reminded me why :-)
====
Does that help ?
Martin Baxter
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
----------------------------------------------------------- Frank D. Engel, Jr. <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
$
___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
