AllExperts > Experts 
Search      

Qbasic, Quickbasic

Volunteer
Answers to thousands of questions
 Home · More Questions · Question Library  · Free Encyclopedia ·
More Qbasic, Quickbasic Answers
Question Library

Ask a question about Qbasic, Quickbasic
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
About Alex Barry
(Top Expert on this page)

Expertise
I have been a qbasic programmer since 2000, creating games, minor libraries and various small programs. I have experience using interrupts, graphics, file input/output, the mouse cursor, and using libraries. I have also learned FreeBASIC, c/c++, python, php and html.
I do not claim to be an absolute authority in any language, but I don't mind looking things up and learning with you.

Experience
Hobby programming since 2000

I no longer belong to any community programming groups, but do have knowledge of *basic dialect and C/C++
   

You are here:  Experts > Computing/Technology > Basic > Qbasic, Quickbasic

SubjectDate AskedExpert

Convert from Hex to Dec from serial poll7/3/2008Alex Barry
  Q: I am talking serially to a power supply I send a command and I get a response that says ADDR:1A ...
  A: Mike, c9 = VAL( "&h" + MID$(a$,21,2) ) VAL will trim all the alpha-characters, so it's only ...
greater than less than7/2/2008Alex Barry
  Q: I have been try to figure out how to sent up this calculation,using greater then and less then. the ...
  A: First note, for greater/less than, here is the trick I use the wide end always points to the big ...
Creating files from QuickBasic programs6/28/2008Don Schullian
  Q: it's me again, and I need another help. I know there's a statement to create a file from your ...
  A: The short anwswe: OPEN MyFile$ FOR OUTPUT AS #1 The long answer: SEQ files are a bit tricky ...
Creating files from QuickBasic programs6/28/2008Don Schullian
  Q: it's me again, and I need another help. I know there's a statement to create a file from your ...
  A: It is said that the 2ed thing to go once you're past 50 is your memory and I saw 50 a decade ago so ...
INKEY$ not working in SCREEN 136/27/2008Alex Barry
  Q: Is it normal for INKEY$ not to work in SCREEN 13? I wrote a cat and mouse game a while back ...
  A: Tracy, the INKEY$ function works in any screen mode, so it isn't a problem with INKEY$. Can I see ...
Getting back to the start of a file6/23/2008Don Schullian
  Q: I'm programming a text-adventure intepreter in QuickBasic and I've come to a halt since about a ...
  A: The only way I know of to return to the top of a file open in SEQ mode is to close then reopen the ...
Mouse Subprogram for QB4.56/15/2008Alex Barry
  Q: I have a problem, try to use the mouse in QB4.5. The program stop this line "CALL ABSOLUTE(100)". ...
  A: John, QBasic 4.5 removed the native functions CALL Absolute and CALL Interuppt, so you'll need to ...
qbasic slot program with arrays6/10/2008Don Schullian
  Q: hi i need help setting up the arrays for each reel to randomly show the fruits and when a is hit 1st ...
  A: This is sounding speciously like homework and I've not had to do homework for quite a few decades ...
read info from another proggie6/10/2008Don Schullian
  Q: I'd like to be able to make a qbasic program that will read information from another dos based ...
  A: Sure! Once you've broken the 'code' of how the data is stored you can determine which tool is the ...
writing a member directory in qbasic6/1/2008Don Schullian
  Q: How do i write a program to prompt user to add record, edit record, delete record, search and ...
  A: The easiest way is to assign a number or letter to each selection and to display the selection along ...
QBASIC5/30/2008Alex Barry
  Q: i wan to write a simple program in BASIC to calculate the following i. mean - efx/n ii. mean ...
  A: Joe, I'll help you out a bit, but... - This is definately homework, so I won't give you the ...
File I/O and Subroutines5/29/2008Alex Barry
  Q: Hey Alex, I'm working on a batch program in QBasic to do iterations on a DOS program that I don't ...
  A: Chris, Well, there are a few things we need to consider before we get too far. First, are you only ...
i need some help!5/29/2008Alex Barry
  Q: can you help me make a simple program that will allow the user to input a paragraph and will count ...
  A: Kris, You'll want to use the INSTR() function recursively. What this means is that you'll use the ...
saving array to file5/26/2008Alex Barry
  Q: I want to create a new array (C) whose elements are the result of subtracting elements of another ...
  A: again, Larry, I'm glad that helped you out :) As far as what programming language to take up, I'd ...
saving array to file5/26/2008Alex Barry
  Q: I want to create a new array (C) whose elements are the result of subtracting elements of another ...
  A: Larry, Sorry for mistaking this as homework. This is the time of year when many students have ...
saving array to file5/23/2008Alex Barry
  Q: I want to create a new array (C) whose elements are the result of subtracting elements of another ...
  A: Larry, This sounds suspiciously like a homework question, but I think I can help you out a little ...
BMP files in basic5/22/2008Don Schullian
  Q: How do i find out the resolution of a BMP file in basic using BINARY file mode? Moreover, how do i ...
  A: The authority on file headers is Wotsit.org. I just went there to get you the link to BMP files but, ...
Writing A Game Show5/15/2008Don Schullian
  Q: Hey All, I'm trying to learn how to mess with Qbasic. Right now I think I know the basics but I'm ...
  A: You'll need a loop until either player wins or you run out of questions. read the question and ...
Writing A Game Show5/14/2008Don Schullian
  Q: Hey All, I'm trying to learn how to mess with Qbasic. Right now I think I know the basics but I'm ...
  A: Your question/request is a bit broad to answer the whole thing here so I'll give you an outline ...
Alphabetical Sorting5/13/2008Alex Barry
  Q: i have a question that how i can program the following in GWBASIC? have to take ten inputs (names) ...
  A: Humera, I don't program GWBasic, but I'll write something out for you, and it should work without ...
Styling input5/5/2008Don Schullian
  Q: I have just begun programming QuickBasic, and I am stuck with the INPUT-tag. I am trying to make the ...
  A: Yes, you can make your own input routine but it takes quite a bit of code. Fortunately I've done ...
arrays4/20/2008Don Schullian
  Q: I need to get numbers from an input to go to my array.I will need to print a list of them. Does this ...
  A: Well, you'll either have to open a file and keep the input there until the user is finished or ...
Screen saver custom text4/17/2008Alex Barry
  Q: Alex. Why can I only put no more than 20 words on my computer screen saver to see? Is it possible to ...
  A: Sterling, I'm afraid that this is a place to ask questions about qbasic computer ...
Windows Vista and Quickbasic 4.54/4/2008Don Schullian
  Q: I successfully used Quickbasic 4.5 with Windows 98 second edition and then later with Windows XP. ...
  A: Join the club of happy, satisfied Vista users. Micro$oft just announced that it will extend the life ...
Permutations update4/4/2008QBasic Mac
  Q: About 11 questions down Andres was interested in permutations. You were kind enough to give him a ...
  A: Glad to include your submission. Hope this response does that. You said "I'm sure the code you ...
Sequential file manpulation4/4/2008Alex Barry
  Q: I want to develope a small module , which can Add , modifiy , find and delete records in a small ...
  A: arpit, I won't write a program for you, but I can give you some snippets of code and some hints on ...
i have some qbasic questions i believe you could help me with4/1/2008Don Schullian
  Q: i am a student at the university of toledo engineering dept. and i am learning basic for the first ...
  A: 1st of all to get things in columns you'll want to use the comma after the PRINT USING statment. ...
qbasic4/1/2008Alex Barry
  Q: Each month I save about 50 lines of equal length to a file Y08. When I print this random file with ...
  A: Gerry, I can't find an immediate problem with your code, so that tells me it's probably a problem ...
errors when compiled3/27/2008QBasic Mac
  Q: I have a quickbasic (4.5) program that does brake calcs. It returns correct results when run in the ...
  A: I can't duplicate your exact case. The IDE was written by one group of people at one time and the ...
school3/27/2008Alex Barry
  Q: Alex barry did you used to the elles school?
  A: Thomas, That is truely a random question. If you are asking if I attended an institution called ...
errors when compiled3/26/2008QBasic Mac
  Q: I have a quickbasic (4.5) program that does brake calcs. It returns correct results when run in the ...
  A: Greg, Could you post the exact snippet of code that produced 0.00E %-1.0I0%-1.0I so I can try it ...
Multimonitor3/18/2008Alex Barry
  Q: I use to write programs in Dark Basic Proffesional, it is possible to write graphic applications ...
  A: Oscar, Your question had me doing quite a bit of research. Sadly, I couldn't find anything already ...
Finding the highest / lowest number3/12/2008QBasic Mac
  Q: I am trying to find out how to print the highest and lowest number entered into a variable and its ...
  A: What you need is to put the calculations for hi/lo in your loop where I have marked "* You work out ...
random sorting3/12/2008Alex Barry
  Q: I have a program that was written by a friend, a long time ago, for Postal purposes. It displays a ...
  A: Raymond, Yes, there are ways of sorting data in QBasic, but I'll need some more information about ...
Data into QuickBasic2/28/2008Alex Barry
  Q: I need to get some data into Quickbasic so I can crunch it and then display it. The data has 120 ...
  A: Roy, Well, you would probably use the HEX$ or BIN$ functions to do bits. I don't quite understand ...
A Trillion Problems2/28/2008Alex Barry
  Q: How would I go about labeling 27 trillion, yes 27 trillion, different individual bits of data, each ...
  A: Joseph, I hate to burst your bubble but QBasic would not be the language to use for this, not to ...
permutations2/28/2008QBasic Mac
  Q: I am not sure how to best do permutations. I have 5 functions (a - e). Every function does something ...
  A: The following will do up to 7 permutations. If you enter abcdefg, you will get the 5,040 ...
permutations2/28/2008Alex Barry
  Q: I am not sure how to best do permutations. I have 5 functions (a - e). Every function does something ...
  A: Well, the only way QBasic could do it easily is with FOR/NEXT loops, which could be quite painful ...
Getting data into a QB file2/26/2008QBasic Mac
  Q: I would like to take strings of data created in a Windows Vista program, (e.g. Microsoft Word or ...
  A: The only way to use ctrl-v in DOS is via a Window. I don't have Vista so I don't know if this will ...
Printing QBasic to a Serial Port2/26/2008Alex Barry
  Q: I have been using Qbasic.4.5 since My daughter bought me an Atari keyboard that used a tape recorder ...
  A: again, Tony, I'm following you now :) If your printer comes with it's own set of drivers and works ...

Page:   1 | 2 | 3 | 4 | 5 | 6 | 7 | 8  |  Next      All


Questions by
Active Experts:
Alex BarryDon Schullian 

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.