Solved

QBasic question

Posted on 1998-05-25
3
459 Views
Last Modified: 2012-06-27
Is there a version of QBasic between the one that comes with the old DOS and QB4.5? Because I have QBasic programs that won't run in the old QBasic because "Advanced feature unavailable" and QB4.5 doesn't like a CALL statement it made.  Also, is there somewhere that lists the peek and poke addresses for QBasic? Or are the memory address universal? Because I know that QBasic handles memory allocation differently than other programming languages.
0
Comment
Question by:TeleKawaru
3 Comments
 
LVL 8

Expert Comment

by:Kobe_Lenjou
ID: 1461529
There is a QuickBasic 4.0 (however it had a buggy compiler/linker).
And to my knowmedge the peek/poke adresses are universel (at least in intel based systems)
0
 
LVL 9

Accepted Solution

by:
cymbolic earned 50 total points
ID: 1461530
yep. There was a 2.0 and a 3.0 as well, but things didn't really get good till 4.5.  Also, there was (were) versions of the Basic Professional Development system around as well, and those versions had a Quick Basic corollary (QBX I think it was called) that had some variations as well.  The call statement that gives you problems probably comes from the fact that there were many third party libraries available for Quick Basic that extende the functions.  One that comes to mind that did most of its work thru calls was Probasic.  It evelved froma shareware version called ADVBAS.

Peek and Poke addresses are primarily relevant to the IBM PC archeticture and many relate to screen addresses and BIOS memory addresses.  A good source for possibilities there is the old books by Peter Norton on the IBM PC that go into detail on the memory architecture.  Another good source is some of the sample code in add on libraries, such as PDQ from Crescent Software.  Still another good source is the Book by Ethan Weiner on Quick Basic.
0
 

Author Comment

by:TeleKawaru
ID: 1461531
Thanks again for the answers Cymbolic.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question