[Implemented] Step value to the power of X

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2137
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

[Implemented] Step value to the power of X

Post by Andre »

As I would also like to see an Enumeration mode for creating constants increasing by the power of 2 (1, 2, 4, 8, 16, etc.) - e.g. for creating flag values - here is another method (workaround) posted in german forum: http://www.purebasic.fr/german/viewtopi ... =8&t=25955
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply