Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE error line error #158

Closed
richardFK opened this issue Apr 2, 2021 · 14 comments
Closed

IDE error line error #158

richardFK opened this issue Apr 2, 2021 · 14 comments

Comments

@richardFK
Copy link

richardFK commented Apr 2, 2021

The IDE points to the wrong line

Example:-

Line Code

638 WHILE NOT EOF(1): i& = i& + 1: LINE INPUT #1, a$: WEND
639 iMAX& = i&: CLOSE #1: OPEN "A:\m.txt" FOR INPUT AS #1: istart& = 1: CharsPerRow% = 256: i& = 0:
640
641 code...

Resulted in

Unhandled Error 62
Line 640 (in main module)
Input past end of file
Continue

Line 640 is a BLANK LINE

It is not why the program failed - it is about the error line number

@ghost
Copy link

ghost commented Apr 2, 2021

Can you reproduce this in other programs or is this the first time you are seeing this? Also, is this in the latest dev build? 64 bit?

@FellippeHeitor
Copy link
Contributor

Are you actually typing line numbers as labels in your program or are these what's seen in the sidebar?

@richardFK
Copy link
Author

richardFK commented Apr 2, 2021 via email

@ghost
Copy link

ghost commented Apr 2, 2021

So, are you in 64 bit and are you on the latest dev build?

@richardFK
Copy link
Author

Windows 64 (latest build - almost all updates)
Running released (stable) v1.5

@ghost
Copy link

ghost commented Apr 2, 2021

Please download the latest dev build and see if the issue is present

@richardFK
Copy link
Author

richardFK commented Apr 2, 2021

Still with v1.5 and I cannot make a 5-line program that fails to send to you (will keep on trying though).
I do not want to supply my whole original program (way too big)

I am being to think that something else is triggering the error (not related to the lines supplied here - maybe a WIndows + hardware glitch) - as when I first encountered the error - the error did not make any sense.

@ghost
Copy link

ghost commented Apr 2, 2021

Just to be clear, when you say "1.5", you mean that you downloaded the dev build? Not the release, correct?

@ghost
Copy link

ghost commented Apr 2, 2021

By dev build, I mean this:
https://www.qb64.org/portal/development-build/

@richardFK
Copy link
Author

richardFK commented Apr 2, 2021

Still with the stable v1.5 release (status row shows v1.5 3043116) Windows 10 64 bit

@ghost
Copy link

ghost commented Apr 2, 2021

Richard, please download the DEV build using the link I gave you. 1.5 is not the dev build. 1.5 is the release. The dev build will read ec747a5

Please download that build and test your code in that version.

@richardFK
Copy link
Author

richardFK commented Apr 2, 2021

I will soon download the dev build - first trying to make a 5-line program that fails (with stable v1.5) - as all my multi-instance programs were written with stable v1.5. The error referred to here has occasionally pop up with some programs (but until I can make a 5-line program that fails regularly/always/frequently (giving the strange error with stable 1.5) - then it may not assist you to see if dev v1.5 solves the problem.)

Of course, IF it is a Windows 10 + hardware "glitch" unique to my hardware - then probably nothing could be done maybe.

@ghost
Copy link

ghost commented Apr 2, 2021

Richard, it's quite possible that the error doesn't exist in the dev build or that it behaves differently anyways. I strongly suggest that you download that and test your code in that. It doesn't do any good to report an issue on old code when it is possible it's already fixed.

@richardFK
Copy link
Author

richardFK commented Apr 2, 2021

In about a day or two will see if have access to free Wifi - current wifi allocation will prevent download of dev build.

Please close this topic - another to be opened topic may be of relevance to my above mentioned problem.

@ghost ghost closed this as completed Apr 2, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants