> Maybe you should have first a look to the name conventions for ASM
Josh is right. Using inline ASM doesn't follow the standard rules. See here (italics mine):
PureBasic manual wrote:You have several rules to closely follow if you want to include ASM in a BASIC code :
- The used variables or pointers must be declared before to use them in an assembler keyword
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
PB wrote:> Maybe you should have first a look to the name conventions for ASM
Josh is right. Using inline ASM doesn't follow the standard rules. See here (italics mine):
PureBasic manual wrote:You have several rules to closely follow if you want to include ASM in a BASIC code :
- The used variables or pointers must be declared before to use them in an assembler keyword
I think that is the OP's point - he does not declare *Point but he does not get an error, which is contrary to the expected behaviour (and your quote from the user manual). Or at least that is what it looks like he is saying.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
As far as I know, using Inline ASM throws out all the normal rules of the IDE/compiler.
It just compiles it as it is. So not declaring the variable won't throw an error at all;
it'll just cause FASM to throw an assembler compile-time error, as shown.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.