I would just like a clarification on the scoping rules for labels.
It appears that labels are local to SUBs/FUNCTIONs as long as they
are referenced via GOTO/GOSUB, but global when referenced via
assembly jump instructions.
I've had to make all labels referenced via my inline assembler
routines unique while labels referenced via PB/DLL statements
are not (necessarily) unique.
I didn't see any explanation for using unique labels with ASM
instructions in the manual...
------------------
Bernard Ertl
It appears that labels are local to SUBs/FUNCTIONs as long as they
are referenced via GOTO/GOSUB, but global when referenced via
assembly jump instructions.
I've had to make all labels referenced via my inline assembler
routines unique while labels referenced via PB/DLL statements
are not (necessarily) unique.
I didn't see any explanation for using unique labels with ASM
instructions in the manual...
------------------
Bernard Ertl
Comment