Bug: "Variable is not an array" error does not display line number

Started by jaymzjulian, October 29, 2019, 02:34:13 AM

Previous topic - Next topic

jaymzjulian


Vectrex32

It's not the error message that's missing a line number, it's the line of code itself.

Can you post an example that reproduces this?

- Bob

jaymzjulian


jaymz@RHINO:/mnt/c/Users/jaymz/vectrex32$ cat bug2.bas
foo[1] = 5
foo[2] = 5


results in


Ready

load"bug2"

Ready

run
Variable is not an array


EDIT: obviously a synthetic example, but it happened to me a few times in my actual code and took me quite a while to track down _which_ code I messed up ;)

Vectrex32


jaymzjulian