What was that thing with Photoshop images?

Chipp Walters chipp at chipp.com
Sat Aug 11 03:07:48 EDT 2012


Mark,

?

You haven't any idea how or why this is used. How can you suggest something
like:

begins with "temp"
over
is "temp"
?

How do you know how the images got there? Do you know they are in a group?
I really don't understand your comment. You asked for a case where you can
see the possible use of the same named control...

On Fri, Aug 10, 2012 at 10:24 AM, Mark Wieder <mwieder at ahsoftware.net>wrote:

> Chipp-
>
> Friday, August 10, 2012, 12:51:01 AM, you wrote:
>
> > on clearTempImgs
> >    repeat with x = the number of images down to 1
> >       if the short name of img x is "temp" then delete img x
> >    end repeat
> > end clearTempImgs
>
> less confusing alternative:
>
> if the short name of img x begins with "temp" then...
>
> better yet, start with the images in a group. Then you just
>
> delete group "imageGroup"
>
> One line of code and no confusion about multiple controls with the
> same name.
>
> --
> -Mark Wieder
>  mwieder at ahsoftware.net
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Chipp Walters
CEO, Altuit, Inc.



More information about the Use-livecode mailing list