Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QBasic Random Data Files
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00456801
Message ID:
00457035
Views:
27
>>Being an old QuickBASIC programmer I can tell you that integers weren't stored as 2 bytes, but one. Long integers were two bytes. I would think that this might apply to QBASIC as well.
>
>I'm sorry George. Your memory is failing. Integers of just one byte would have being too short for most practical purposes (+/-127).

I just checked the QBasic help and you are, indeed, correct about the size and the fact that they're signed. I don't have QuickBASIC available to check, but I believe that (since it was pre-Win 16) that the integers there were 8 bit.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform