[Implemented] Step value to the power of X
- Andre
- 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
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