I have a project where I have a run time error, The error message says it is at a line number which is greater than the number of lines of code. Deleting ALL the code I still get an error in code at a line number that does not exist?
Regards,
Kevin
kevinrandell wrote:I have worked out there is no problem with the code, but rather an issue with an object on the form. Looking at the textfile that is the form in an editor the line number corresponds to a property of a label.
kevinrandell wrote:I am using KBasic as the programming language for my Intro to Programming course. Each project this error is happening with about 25% of the students. I have looked into the form file with a text editor to see what the line number corresponds to in terms of object / property, deleting this sometimes works. If we delete all objects and start again this also sometimes work. It does seem to be very hit or miss.
I will grab one of the offending projects and upload if that would help.
Regards,
Kevin