I had a chat, via email, with Wolfgang on this matter and he is of the opinion that:
- Debugging SuperBASIC is an absolute pain!
- a$(2 to 1) or a$(1 to 0) giving an empty string should possible result in an error instead.
- Using negative numbers, he thinks that the code treats numbers as unsigned, so that a$(1 to -1) is being read as a$(1 to $FFFF) which is as per the results, so makes sense.
Given his last point above, I did try to find it in the source code to see if it matches what he thinks, and for the life of me, I couldn't find it! I suspect this is why he made his first point!
Cheers,
Norm.