- #1
Prophet
- 18
- 0
If someone can help me with this I'd be grateful. I've asked this question on other forums, gotten lots of views but no answer. It's no big deal but maybe someone has a solution.
I've have a program written in BASIC. I did not write the program and I have no way to contact the original programmer.
Here's the big problem. There are quite a few lines in the code like this one
NH(N) = NH
NH has been declared by
DIM NH(20)
but the variable on the right does not have an index and this makes the compiler unhappy. I originally suspected that whatever compiler the programmer was using had some sort of default index feature, probably 1 or 0. Lately I've begun to think that the programmer never did get it to run.
I've have a program written in BASIC. I did not write the program and I have no way to contact the original programmer.
Here's the big problem. There are quite a few lines in the code like this one
NH(N) = NH
NH has been declared by
DIM NH(20)
but the variable on the right does not have an index and this makes the compiler unhappy. I originally suspected that whatever compiler the programmer was using had some sort of default index feature, probably 1 or 0. Lately I've begun to think that the programmer never did get it to run.