Highest Image File ID

Richmond richmondmathewson at gmail.com
Wed Mar 21 14:26:50 CDT 2012


On 03/21/2012 08:49 PM, J. Landman Gay wrote:
> On 3/21/12 12:52 PM, Richmond wrote:
>> On 03/21/2012 07:45 PM, J. Landman Gay wrote:
>>> On 3/21/12 12:14 PM, Richmond wrote:
>>>> I just did this:
>>>>
>>>> put the ID of the last control
>>>>
>>>> and it worked a charm.
>>>
>>> I think that will only give the highest ID on that card.
>>>
>>
>> Perhaps if one adds this:
>>
>> put the ID of the last control in stack "DAFTY"
>>
>> that would do the trick?
>
> Nope. Card-only.
>
>

Ah, I think I know why: It is quite possible to have a control with an 
ID of 1004 on one card,
and another with an ID of 1004 on the next card.

And, at that point, one can see that looking for the object with the 
highest ID in the stack is pretty pointless.



More information about the use-livecode mailing list