[Implemented] Image handles

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

[Implemented] Image handles

Post by tinman »

Can we have the ImageID() command taking an optional parameter to get the handle of the specified image number (useful to find out if it exists without having to change the image using UseImage() which causes the debugger to stop the program if it does not exist).

Thanks.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

This would be great...
Post Reply