Hey KCC, I like your constant declaration macro better than my original. I can use that in my code, thank you.
Then here !!!!!!! When i have read this line, i'm so happy, then i believe it's the most nice day of my life

The ASM, it's for me, more again than a dream, already i dream to learn C, then imagine

So if a day i imagine helping even a little bit a AsmMan...it's really amazing for me
You not imagine what this sentence make me proud....
In fact i understand often nothing what i do, but i search search and search again
It's what we call in french "the beginner chance" i don't know if that exist in english (La chance du debutant)
And we have also another sentence by Michel audiard (French filmmaker), extract to a french movie "The uncles gunslingers" (Les tontons flingueurs) very very funny, who stick exactely at this situation
Like i don't understand anything, but try for hours and hours, all what i think in my little head.
I remember this sentence who say
"The idiots this dare all, this is why we even recognize them"

(Les cons ça ose tout, c'est même à ça qu'on les reconnait)
And idiot..it's my second name
Sure i search more a code like this
Code: Select all
#ConstantPB = 10
Macro DeclareConstant(k)
!ConstantASM = k
EndMacro
DeclareConstant(#ConstantPB)
But it'simpossible to send the PbConstant directly
So i have reduce at the maximum, and for the moment i think there are no better way
Code: Select all
Macro DeclareConstant(k)
#ConstantPB = k
!ConstantASM = k
EndMacro
DeclareConstant(9) ; declare PB and ASM constants
And super your procedure
GetConstant() i go keep it, for use it later, in case i need read a ASMConstant
After this moment, i believe i go to sleep this night, with the mouth open, and the teeth on the air
I wish you a very very very good day and week end !!! 