From: SourceForge.net <no...@so...> - 2010-02-12 15:57:11
|
Bugs item #2950645, was opened at 2010-02-12 10:57 Message generated for change (Tracker Item Submitted) made by tracey002 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102228&aid=2950645&group_id=2228 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tracey (tracey002) Assigned to: Nobody/Anonymous (nobody) Summary: Compile error when source does NOT end with <CR>+<LF> Initial Comment: 08JAN09 Compile error "sometimes" when source does NOT end with <CR><LF> Consistanly when the RETURN statement is the last statement (both "main" programs and SUBROUTINEs): TEST 001 GOSUB ONE 002 STOP 003 004 ONE:; !> 005 CRT 'GOSUB ONE' 006 RETURN D:\mvdemo>BASIC TEST Error: line: 0 178RETURN ========================================================== Compile/run works with last <CR><LF> after RETURN statement: TEST 001 GOSUB ONE 002 STOP 003 004 ONE:; !> 005 CRT 'GOSUB ONE' 006 RETURN 007 D:\mvdemo>BASIC TEST D:\mvdemo>RUN TEST GOSUB ONE ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102228&aid=2950645&group_id=2228 |