![]() |
|
Error: Undefined GLOBAL label - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://forum.boriel.com/forumdisplay.php?fid=16) +---- Thread: Error: Undefined GLOBAL label (/showthread.php?tid=2648) |
Error: Undefined GLOBAL label - ardentcrest - 2025-11-02 Looking over an old file of mine that once worked I'm now getting Error: Undefined GLOBAL label . each one is going to a fastcall. ie ld hl, lineMSG ld bc, end1-lineMSG call myPrint42 calling SUB fastcall myPrint42() ASM myPrint42: push af push ix push hl ld ix, PRINT42 CALL IXCALL pop hl pop ix pop af ret END ASM END SUB gives me Error: Undefined GLOBAL label ".myPrint42" any help please.... RE: Error: Undefined GLOBAL label - tubz74 - 2025-11-02 I've had something similar - a label in a SUB, which was working, but no longer is - with that same error - I ended up changing the label to a line number, which worked as expected, as I wasn't using it in anything important I just assumed something had change that I'd missed regarding labels, as other labels seemed to be working. RE: Error: Undefined GLOBAL label - boriel - 2025-11-04 This is something that should work. But I need to examine it: labels within ASM context are supposedly to be global, and the function does not start a new namespace. RE: Error: Undefined GLOBAL label - ardentcrest - 2025-11-04 You gave me help on telegram for this. |