set the name of last group not working?

Josh Mellicker josh at dvcreators.net
Tue Feb 14 18:59:54 EST 2006


As Homer would say: "Doh"!

set the name of the owner of the last group to "whatever"

works.


(it is an error in Rev or the doc though!)



On Feb 14, 2006, at 2:34 PM, Josh Mellicker wrote:

> The doc says:
>
>    Tip:  To refer to the newly-created group, use the last keyword:
>
>      group button "Yes" and button "No"
>      set the name of last group to "Do It"
>
>
> Yet with this script:
>
> clone group "dave"
> set the name of it to "spooky" -- correctly names the clone
> group "spooky" AND fld "water"
> set the name of last group to "drinking" --Rev renames the cloned  
> group "spooky" to "drinking", and leaves the name of the master  
> group to grp "id 1028"
>
>
> I get the same result when changing the last line to:
>
> set the name of it to "drinking"
>
>
> ---
>
> Is this a bug in Rev?
>
> Or am I doing something wrong?
>
> How do you name a newly formed group that consists of a group and a  
> field?
>
>
> _______________________________________________
> 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
>
>




More information about the use-livecode mailing list