You are here:

Qbasic, Quickbasic/Questions

SubjectDate AskedExpert
QB4.5 to FreeBASIC 'upgrade'2/6/2012Alex Barry
  Q: Like others, I have some 'legacy'QB4.5 programs that do not run due to Windows XP Pro upgrade. I've ...
  A: Heh, it's great to see another Ontario-ian here :) I'm going to assume this is more so a DOSBox ...
question regarding leap year2/3/2012Alex Barry
  Q: plz explain me the logig of QBASIC. and plz tell me what is wrong in following program or this ...
  A: I don't know if I can just summarize the logic in QBasic. What I can say is that all computer ...
sort odd/even numbers12/23/2011Alex Barry
  Q: Can you please help me in coding a QBasic program in order to sort odd/even numbers (from 10 to 48) ...
  A: QBasic is sort of weird when it comes just doing copy/paste with subroutines and functions. Open the ...
sort odd/even numbers12/16/2011Alex Barry
  Q: Can you please help me in coding a QBasic program in order to sort odd/even numbers (from 10 to 48) ...
  A: Since you provided a bunch of different scenarios to one problem, I'm going to stick with your first ...
Qbasic Triangle Program11/20/2011Alex Barry
  Q: I have to make a program in QBasic where the user enters the sides of a triangle and the program has ...
  A: I need to know how you're trying to make the program to help you shrink it down. Without seeing the ...
Please help needed ASAP!!!10/31/2011Alex Barry
  Q: Sorry for the trouble I had read a recent question where u helped someone with the telephone ...
  A: I don't have a problem helping you, but what you're asking me to do is help you cheat on your ...
Color background in Screen 010/30/2011Alex Barry
  Q: Just a real quick one now. How do i change the complete background of a screen in QBasic? I tried ...
  A: Sorry for the delay, I thought I answered this, but I must have gotten side-tracked and forgot to ...
imprimir tela do Qbasic - graficos10/6/2011Alex Barry
  Q: Tenho uma rotina em linguagem de maquina que imprime o conteudo da tela mas graficos nao - como ...
  A: I don't speak/read Portuguese, but if I'm correct, you're trying to print the whole screen, rather ...
sortition problem9/27/2011Alex Barry
  Q: I've tried your suggestion: sortation (1) sortation (2) sortation (3) sortation (4) sortation ...
  A: The code works as expected - you said yourself it would be a lot of numbers. Also, I don't ...
2 dimensional array9/20/2011Alex Barry
  Q: Sir i am studying in BCA first year and i have difficulty in 2 dimensional array kindly guide me i ...
  A: I work for a living and don't have time to write the code for you, but if you attempt to write a ...
2 dimensional array9/19/2011Alex Barry
  Q: Sir i am studying in BCA first year and i have difficulty in 2 dimensional array kindly guide me i ...
  A: The easiest way to sort any array is using the Bubble Sort method ( ...
Spliting a text input9/15/2011Alex Barry
  Q: I was hopeing you can help me I need to split a input feild into 3 arrays The data comes in as ...
  A: This is how I would do it, and hopefully it makes sense to you: DECLARE FUNCTION TextSplit( text AS ...
convert numbers to formatted strings?9/10/2011Alex Barry
  Q: In this example the answers are on the screen, but I need the answers in a String! X = 6070.081 Y = ...
  A: You should be able to do: T$ = FORMAT$( T, "####.##" ) X$ = FORMAT$( X, "####.##" ) This will only ...
wmm and mpeg9/7/2011Alex Barry
  Q: How do I know if my mpeg video file is a mpeg 1 or mpeg 2? I asked this same question on Bing and ...
  A: Well, this has nothing to do with QBasic, but I think I can help you out. On windows, I think the ...
sort from TWO INPUT# statements9/1/2011Alex Barry
  Q: I'd like to SORT into a series of six numbers, from two INPUT# statements: the first INPUT statement ...
  A: I'd have to say I'm thoroughly confused by what you want, so I'm going to write some code, and ...
Q basics8/25/2011Alex Barry
  Q: I'd tried and run the program but what am finding difficult is expand and contract
  A: I have no idea what you're talking about. I can't find your name in any previous answers, so I ...
Suppressing CRLF in QB8/19/2011Alex Barry
  Q: I'm using a "do until" loop to create a text stream character by character from one file, veryfying ...
  A: This is a fairly common problem, but very easily fixed :) At the end of your PRINT #x, <string> add ...
To put enter in variables8/1/2011Alex Barry
  Q: I am creating a program in QBASIC that asks us the common expenditures of the month and allows us to ...
  A: It looks like you have probably changed your code after reading my example, and it's looking sort of ...
To put enter in variables8/1/2011Alex Barry
  Q: I am creating a program in QBASIC that asks us the common expenditures of the month and allows us to ...
  A: I'd need to see your source code to tell you exactly what the issue is, but I'd assume you're adding ...
Database recall error7/20/2011Alex Barry
  Q: Alex, I have some databases that are created from a VB6 app but THE ONLY database that is not ...
  A: Hey Andy, I'm sorry, I mis-read your original question. In VB6, there is an extra NULL character ...
Database recall error7/20/2011Alex Barry
  Q: Alex, I have some databases that are created from a VB6 app but THE ONLY database that is not ...
  A: This probably isn't the source of the problem, but my first suggestion would be to make sure you're ...
Freebasic XY Plot question7/11/2011Alex Barry
  Q: I'm back again. I'm running freebasic on a windows xp platform. I am attempting to write a simple ...
  A: hey Mike, My first reaction to that code...wasn't good, but I'll just leave it at that. For the ...
Database Access QBASIC / VBDOS7/1/2011Alex Barry
  Q: Alex, Me again :) I am trying to access a database that has been generated from A VB6 application ...
  A: I'm not a huge VisualBasic guy, but you could avoid the conversion stuff by just changing your ...
Freebasic output : 1.#inf6/30/2011Alex Barry
  Q: I am using freebasic on a windows XP platform. I have written a fairly complicated program with ...
  A: I don't think you're hitting a memory limit, since 32-bit programs are only limited by the amount of ...
Large text in Basic6/27/2011Alex Barry
  Q: I have a app that I would like to display the sale value in large text (and I mean large text as is ...
  A: Hey Andy, If this co-relates to your other question about text input boxes, and you're using ...
User input via a text box6/24/2011Alex Barry
  Q: I am designing some software that uses text boxes to get input from the user. but I can not figure ...
  A: There are a few routes you can take, and I'll outline them all briefly. #1. (Not Recommended) Use ...
Preventing "Open File" Moves5/22/2011Alex Barry
  Q: I am writing a basic program that sequentially reads files, reformats the file, does some math on ...
  A: Are you using freebasic or QBasic? And is the program that's moving the .dat files also the program ...
removing unwanted space from a string4/27/2011Alex Barry
  Q: I am comparing two strings from different sources. One string is from a file and does not contain ...
  A: you could probably do this: num% = 1 ctr$ = RTRIM$( STR$( num% ) ) a$ = RTRIM$(a$) + "000" + ...
Read and data4/18/2011Alex Barry
  Q: When the Read is more than the Data, how is it handled? Read: a, b,C, D Data: 10,20
  A: QBasic will throw an error - you can trap it, though, so your program doesn't stop execution if you ...
directory manipulations from freebasic4/12/2011Alex Barry
  Q: I have failed a million times to get directory manipulations to work. I am running windows xp and ...
  A: Hey Mike, I didn't realize you were using FreeBASIC, as opposed to QBasic, meaning we're not ...
calling subroutines4/5/2011Alex Barry
  Q: Alex...I never heard of the "peak" method in the fft reference you provided - but it works like a ...
  A: Subroutines don't end the program at the end. When a subroutine is done it's stuff, it returns back ...
Loop through one file while reading another4/1/2011Alex Barry
  Q: bit of a problem... I'm editing a large program that reads in a large weather file (file 1) and ...
  A: Sorry for the delay in answering the question. If those minutes from both files line up, you should ...
Fast Fourier transforms3/31/2011Alex Barry
  Q: Your solution was excellent. I know this is ridiculously out of scope, and a real long shot, but I ...
  A: I don't have a program, personally, that does this, but a quick google search brought me to this ...
How to pass a two-dimensional array to an array3/31/2011Alex Barry
  Q: FUNCTION addMatrices (a() AS INTEGER, b() AS INTEGER) n = LEN(a) DIM result(n, n) AS INTEGER ...
  A: I'm not 100% sure what you are doing, but it looks like you have two arrays being passed to the ...
Sequentially opening variable file names3/30/2011Alex Barry
  Q: I am writing a basic program that sequentially reads files, reformats the file, does some math on ...
  A: Hey Mike, There are two ways to get a file list from a directory, and both are sort of hack-ish, ...
qbasic3/24/2011Alex Barry
  Q: Could you give me very hard logical programs to solve so that i can improve my progrmming skills. ...
  A: That isn't really how this website works (I help with problems, I'm not really a teacher). However, ...
Duplicate Definition3/20/2011Alex Barry
  Q: As soon as I typed the following line a message came up as DUPLICATE DEFINITION..The line was SUB ...
  A: What it means is that you have to "things" called center (one being the sub, the other maybe a ...
updating a database3/16/2011Alex Barry
  Q: I want to create a database that can store data in variables store any updated data as well. This ...
  A: To do this, you will need to use open, close#, along with either get#/put# or print#/input# Here is ...
Can someone help me fix it?3/1/2011Alex Barry
  Q: I'm trying to learn how to program in Qbasic by trying to program simple gambling systems. I know ...
  A: Hey Paul, It looks like maybe you are modifying LOSS, which modifies N right away. Fix?: 460 ...
Can someone help me fix it?3/1/2011Alex Barry
  Q: I'm trying to learn how to program in Qbasic by trying to program simple gambling systems. I know ...
  A: As a personal preference, you probably don't need line numbers. A good exception is when you want ...

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

Qbasic, Quickbasic

All Answers


Answers by Expert:


Ask Experts

Volunteer


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, QB64, c/c++, python, lua, 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

I have been programming in *Basic dialects since 2000, as mentioned in my expertise. After a year of QBasic, I learned C and C++, and dabbled a little in ASM (I don't program in ASM - I literally just played around to see how things work). When QB64 and FreeBASIC were released, I played with those languages. At the time, FreeBASIC offered more functionality and I sided with that language for a while. During that time, while I was learning new languages, that I would see what scripting languages are available, where I took up python and lua. I started to notice a staleness to QB64's development (which I kept tabs on from time to time), and am now trying to be active in it's community and maybe in it's development in the future. Currently, I am only active on the QB64.net forums, but I appear on occasion on FreeBASIC.net's forums as well.

Education/Credentials
Highschool - 2007

©2012 About.com, a part of The New York Times Company. All rights reserved.