FAQ  •  Register  •  Login

Error Undefined label 'None' (!)

<<

programandala.net

Posts: 98

Joined: Fri Apr 09, 2010 12:50 am

Location: España/Hispanujo/Spain

Post Fri May 16, 2014 3:01 pm

Error Undefined label 'None' (!)

Any clue what could cause the error "Undefined label 'None'"? It seems something missing is misinterpreted as a missing label?! I tried to find the wrong line with #line, but there are several #include and the error line changed without logic depending on the zones I commented out. Then I've created a debug version of the code, pasting all modules into their places instead of using #include. The same error happens, and also in different lines depending on the zones I comment out. So far I see no logic: the error line can be an "end asm" or a BASIC comment, an assembler comment or whatever.

Thank you
<<

boriel

Site Admin

Posts: 1462

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Sun May 18, 2014 7:31 am

Re: Error Undefined label 'None' (!)

Can you post a code snippet here to reproduce the error? This looks like a compiler bug.
<<

programandala.net

Posts: 98

Joined: Fri Apr 09, 2010 12:50 am

Location: España/Hispanujo/Spain

Post Wed May 21, 2014 5:05 pm

Re: Error Undefined label 'None' (!)

boriel wrote:Can you post a code snippet here to reproduce the error? This looks like a compiler bug.


I'm not sure what part of the code causes the error, so I upload the whole file, in an attached zip archive. It's a library I'm writting to support the Plud D and DISCiPLE disk interfaces. This is what I get now:

mgt.tmp.whole.zxbas:384: Error: Undefined label 'None'


You see, that line is a BASIC comment in an empty SUB. If I add a PRINT after the second comment line, 385, the error happens at line 385! I did many tests but don't see any logic.

Thank you.
Attachments
mgt.zip
(3.16 KiB) Downloaded 68 times

Return to Help & Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO