are static variables shared between instances of an external?

Mar 26, 2007 at 4:28am

are static variables shared between instances of an external?

Hi,

Are static variables shared between instances of an external? That
is, if I create a global in my .c/.cpp file, will the value be shared
by all instances of my object in Max?

Thanks

grrr waaa
http://www.grahamwakefield.net

#31021
Mar 26, 2007 at 4:33am

On 07-03-25, at 2128, Graham Wakefield wrote:
> Hi,
>
> Are static variables shared between instances of an external? That
> is, if I create a global in my .c/.cpp file, will the value be
> shared by all instances of my object in Max?
>
Yes. Check out:

http://www.cycling74.com/twiki/pub/Share/JoshuaKitClayton/uid010426.sit

r.

#100201

You must be logged in to reply to this topic.