set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2

Tariel Gogoberidze tariel at mac.com
Sat Aug 27 02:04:23 EDT 2005


On  Fri, 26 Aug 2005 11:49:29 Richard Gaskin wrote
>
> b) Valid ID numbers go up to 2 billion
>
> So if you establish a base ID well above a million you should never
> conflict with the engine's ID numbering scheme (unless of course you
> have more than a million objects, but then you'll have other problems 
> to
>
> deal with <g>).
>
> This means once you've set the altIDs you can do something like this:
>
>    put 1000000 into tBaseID
>    repeat with i = 1 to 100
>      get the whateverProperty of fld ID (tBaseID+i)
>    end repeat
>
>

Just keep in mind when dealing with altID that it has a limit of 65535.

If you

set the altID of button 1 to 65536
put  the altID of button 1 --> you'll get 0

best regards
Tariel




More information about the use-livecode mailing list