I worked on Mapper’s map subroutine again today. I spent several hours on it and am beginning to feel kind of stupid.
The map file I have been using is just two named rooms with no directions.
At this point it should print three compass rose figures with zero’s at the end of each point. The first two print out more or less correct, but the third wraps in the wrong place. I don’t even bother to print the names of the rooms yet.
I’m going to keep at it, but have updated the mapper disk image if anyone is bored enough to look at it. The print map subroutine is very near the bottom of the program.
I have been using the 128K version of ZBasic. (small Warning here, it takes about 35 seconds to load or exit the editor and another 35 seconds to compile)
The place it wraps is after I print the first number of row 3 column 3.
I erased the semi-colon at the end of the lines where I wanted to continue printing and retyped the semi-colon, to make sure I had the right character there.
I though it was a TAB() problem, so I took those out of there and that did not fix it.
I thought it was a print using problem, so I replaced the print using with a right justified function for the number and that didn’t fix it.
Instead of numbers I just printed a series of X’s and they came out right where I wanted them to, so I know I can print there. I used ‘XXXXX X XXXXX’ and was able to position it right where that third row of numbers should have printed.


Leave a Reply