[Implemented] flag enumeration

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
#NULL
Addict
Addict
Posts: 1497
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

[Implemented] flag enumeration

Post by #NULL »

how about an additional keyword for easily defining flags (constants)? like Enumeration/EndEnumeration, but for bitshift instead of increase. maybe with an optional parameter to define the starting bit or number.
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Post by eesau »

This has already been requested here.
#NULL
Addict
Addict
Posts: 1497
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Post by #NULL »

ah, thanks and sorry. i searched but didn't know how people call it.
Post Reply