knot in my brain?

Drs Mark Schonewille m.schonewille at economy-x-talk.com
Tue Sep 15 09:35:38 EDT 2020


Hi Klaus,

I bet the problem is in the remainder of the script, for instance 
changing layers or deleting graphics (although the latter probably not). 
If you change it to

repeat with i = 1 to the num of grcs
   if the short name of grc i beginswith "Graphic_" then put i
end repeat

do you still get an error?

Mark Schonewille
Economy-x-Talk
https://ecxtalk.nl
https://www.nt2.nu

Programming LiveCode for the Real Beginner
http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner

Op 15-9-2020 om 15:30 schreef Klaus major-k via use-livecode:
> Hi friends,
>
> ...
> repeat with i = 1 to the num of grcs
> ## This line:
> if the short name of grc i begins with "Graphic_" then
> ## Gives me the error -> no such object
> ...
> What am I overlooking?
> I know do, but have no clue currently...
>
> Thanks in advance!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> 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





More information about the use-livecode mailing list