Problem with field references
BNig
niggemann at uni-wh.de
Thu Jul 3 17:08:28 EDT 2008
Mikey,
I have a stack with a field "f1" with some text in it
and a substack of this stack with a field "f2" and a button
the script of the button is
-----------
on mouseUp
put "field "& quote & "f1" & quote & "of card 1 of stack " & quote &
"s1" & quote into tcompleteReferenceVariable
if there is tcompleteReferenceVariable then put "true" & return into
field "f2"
put the value of tcompleteReferenceVariable after field "f2"
end mouseUp
----------------
this works for me
I thought it was something like that you were trying to do
however, whatever works....
regards
bernd
Mikey-3 wrote:
>
> GAH! OK, if I
> put field fieldname
>
> or put (there is a field fieldname) I get a failure.
>
> However if I
> do "put field "&&fieldname
> or
> do "put there is a field"&&fieldname
>
> I get success.
>
> --
> Will Rogers - "I don't make jokes. I just watch the government and report
> the facts."
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
--
View this message in context: http://www.nabble.com/Problem-with-field-references-tp18267262p18268246.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list