What does this line do?
Will it help my program?Code:DEFINE TGIF MISTER_E
What does this line do?
Will it help my program?Code:DEFINE TGIF MISTER_E
Dave
Always wear safety glasses while programming.
Depending the amount of cash, beer or freebies you assign to MISTER_E variable, it could help or totally ruin your whole life![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
OK, I will have to remember that![]()
Dave
Always wear safety glasses while programming.
I am sure this sentence is a part fo picbasic, withi ASM used.
still I do not know the function of "-"
"_ " seemed have some special function, related to the address of a varity? what about the double "_" meaning?
seemed always used as "_myvar" is ASM, and "myvar" in basic, they are the same value.
Well yes and no, it depend how you define your variable
in asm, you will access MyVar as _MyVar, but AnotherVar will remain AnotherVarCode:MyVar var BYTE AnotherVar var BYTE SYSTEM
Why the double underscore? I can't tell for sure, maybe just to avoid some double definition.. not much. _ is just another character.
You can't define a variable name which begin with a number though.
<hr>
i found an explanation... well sort of
http://mail.python.org/pipermail/pyt...ry/019711.html
Last edited by mister_e; - 15th April 2008 at 16:12.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks