New groups bugaBoo

Scott Rossi scott at tactilemedia.com
Thu May 21 20:31:20 EDT 2009


Recently, DunbarX at aol.com wrote:

> I wrote a script that groups each field in order, one field to a group,
> thinking that the 'last" group would always be just that, the latest one
> created.
> 
> But not so. I came across this because trying to get the "last" group as I
> went along always failed.

Yeah, apparently referencing the "last" group is still not reliable.  If you
need to use this approach in your scripts, one option is to name the
templateGroup, rather than using "last", as mentioned here:

http://www.nabble.com/Re%3A-am-I-right-with-select-and-group--p10972065.html

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list