[Implemented] Automatically allocated handles

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

[Implemented] Automatically allocated handles

Post by GedB »

Is it possible for functions like OpenWindow and AllocateMemory to automatically provide a handle if passed -1?

I've seen the

Code: Select all

#GadgetID = #NextGadget:#NextGadget = #NextGadget + 1
idiom being used. Such a feature would make this unnecessary.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

It's planned, yes.
Post Reply