Solved

QBasic question

Posted on 1998-05-25
3
458 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

770 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