Problem with field references

BNig niggemann at
Thu Jul 3 17:08:28 EDT 2008


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....



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
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

View this message in context:
Sent from the Revolution - User mailing list archive at

More information about the use-livecode mailing list