Re: Get the bigger used enumeration [Resolved]
Posted: Sat Feb 14, 2026 1:04 pm
@ANDRE
I have all read the DOC you give to me, and learning several things
In fact, like usually i not do like we must do
Since the begining i ALWAYS used the more simple
Just when i'm forced, but very rarely
And NEVER i use NAMESPACES i have forgotten this function
And i know it's not good, but i always mixed all the constants
All my hundreds littles or even bigs codes is like this
Because i always believe "EnumerationValue" is do for that
It's not good, but the advantage is that never i have collisions with this system
But i understand that on a monstruous code of numerous thousands lines, it's perhaps not a good idea
But now with all the explains of my forum friends
i have much learning, and sure i change my way to enumerate my futurs codes
But the code i modify is not mine, so the problem is not the same
@AXOLOTL
Hello
I hate it, never i use it
Sometime i regret....after one hour lost
But with this...i have always notifications and MsgBox on running
..and i have already enough REAL errors with my cow pats codes
Waouhhh !! you too, you need to know the list of constants used ?
Your TIP is cool, i try to remmeber it
Thanks
I have all read the DOC you give to me, and learning several things
In fact, like usually i not do like we must do
Since the begining i ALWAYS used the more simple
Code: Select all
Enumeration
#Kcc1
#Kcc2
etc ..
EndEnumerationCode: Select all
Enumeration 10
#Kcc1
#Kcc2
etc ..
EndEnumerationAnd i know it's not good, but i always mixed all the constants
All my hundreds littles or even bigs codes is like this
Because i always believe "EnumerationValue" is do for that
Code: Select all
Enumeration
#KccConstant1
#KccConstant2
#Window1
#Gadget1
#Menu1
#Menu2
etc ..
EndEnumeration
Enumeration #PB_Compiler_EnumerationValue
#Window2
#Gadget2
EndEnumeration
But i understand that on a monstruous code of numerous thousands lines, it's perhaps not a good idea
But now with all the explains of my forum friends
But the code i modify is not mine, so the problem is not the same
@AXOLOTL
Hello
EnableExplicit ; <= my favorite command!!
Sometime i regret....after one hour lost
But with this...i have always notifications and MsgBox on running
Waouhhh !! you too, you need to know the list of constants used ?
Your TIP is cool, i try to remmeber it
Thanks