A couple of graphic object questions

Doug Lerner doug at webcrossing.com
Mon Jan 12 08:02:49 EST 2004


On 1/12/04 9:57 PM, "Jan Schenkel" <janschenkel at yahoo.com> wrote:

> --- Doug Lerner <doug at webcrossing.com> wrote:
>> On 1/12/04 9:43 PM, "Jan Schenkel"
>> <janschenkel at yahoo.com> wrote:
>> 
>>>> Is the "number of graphics" the number of
>> graphics
>>>> on a card?
>>>> 
>>> 
>>> Indeed, if you don't specify any further, the
>> engine
>>> assumes you want the number of graphics on the
>> current
>>> card of the current stack.
>> 
>> That actually does NOT seem to work. But since I am
>> now using your suggested
>> newGraphic handler to store new graphic names in an
>> array I can get the
>> information I need.
>> 
> 
> In what sense does it not work ? Are you getting
> compile errors or unexpected results ? I just tested
> it here and my sample code showed the long id's of
> each graphic control on the card.

It does work - sorry.

But I am definitely, and weirdly, getting lots of duplicate graphic numbers,
like 16 and 16, 17 and 17, 18 and 18.

This is in the inspector.

doug



More information about the use-livecode mailing list