01-01-2004, 11:00 PM
...With my QB1.1 IDE.
I decided to rewrite the engine to a text game I'm making. I was going to put the load map code in a SUB, called loadmap.
So I go to Edit -> New Sub, call it loadmap. Then I change the line to accept a parameter. So now it looks like:
And my cursor is right at the end of the SUB loadmap line. So I press enter, to get on with writing the code, and..."Blank lines are not allowed before SUB/Function line. Is remark OK?"
Jeesus! It's AFTER the SUB line, and Before the END SUB line! :x
[EDIT]Even more screwed up! Simple variable names like fn and fnumber are "duplicate definitions."
I decided to rewrite the engine to a text game I'm making. I was going to put the load map code in a SUB, called loadmap.
So I go to Edit -> New Sub, call it loadmap. Then I change the line to accept a parameter. So now it looks like:
Code:
SUB loadmap (fname$)
END SUB
Jeesus! It's AFTER the SUB line, and Before the END SUB line! :x
[EDIT]Even more screwed up! Simple variable names like fn and fnumber are "duplicate definitions."