I find it hard to believe the entire function was missed out but I can't find anything.
![Sad :(](./images/smilies/icon_e_sad.gif)
Actually, I don't know. But I seriously doubt it. Such a function does not have much do do with high level languages. It's more things from the low-level programming era.Rink wrote:Out of curiosity, does anyone know if any of the other Microsoft licensed BASIC interpreters have a shift function? I guess they thought no one would need it.
Granted - assuming you can keep your BASIC interpreter from shifting your number to a floating point representation. Presumably, one of the ideas/links etc. posted above contains the secret to doing it well.Rolo wrote:I never saw a single 8-bit Microsoft Basic interpreter with shift or rotate operators. We did not need this. We would use integer numbers if possible and divide by two or multiply with two. Of course this does only make sense with integers, not floating point numbers.
Presumably it was an oversight at Microsoft. My theory is this: that person was sacked from Microsoft for this failure and got a job at Hudson.Rolo wrote:Ahhh, now I see the point. As a Commodore user I only would use the "%"-suffix to define an integer variable (like A%=5). I just looked it up in the booklet ("An Introductiuon to Basic..."). Dragon Basic obviously does not have that special data type. I haven't had realized that until now. Strange, why did they leave that out?