What was that thing with Photoshop images?
chipp at chipp.com
Sat Aug 11 03:07:48 EDT 2012
You haven't any idea how or why this is used. How can you suggest something
begins with "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:
> 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:
CEO, Altuit, Inc.
More information about the Use-livecode