You are here:
| Subject | Date Asked |
| qbasic - Yatz | 2/11/2012 |
| Q: Yatz asked you a question about random numbers generator. What I would like to add in this program ... A: My apologies, my brain was thinking of another *Basic dialect. The loop: <pre> WHILE NOT ... | |
| qbasic - Yatz | 2/10/2012 |
| Q: Yatz asked you a question about random numbers generator. What I would like to add in this program ... A: In general, it's fairly easy to filter random numbers by simple generating a new one if you don't ... | |
| QB4.5 to FreeBASIC 'upgrade' | 2/6/2012 |
| 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 year | 2/3/2012 |
| 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 numbers | 12/23/2011 |
| 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 numbers | 12/16/2011 |
| 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 Program | 11/20/2011 |
| 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/2011 |
| 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 0 | 10/30/2011 |
| 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 - graficos | 10/6/2011 |
| 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 problem | 9/27/2011 |
| 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 array | 9/20/2011 |
| 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 array | 9/19/2011 |
| 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 input | 9/15/2011 |
| 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/2011 |
| 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 mpeg | 9/7/2011 |
| 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# statements | 9/1/2011 |
| 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 basics | 8/25/2011 |
| 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 QB | 8/19/2011 |
| 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 variables | 8/1/2011 |
| 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 variables | 8/1/2011 |
| 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 error | 7/20/2011 |
| 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 error | 7/20/2011 |
| 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 question | 7/11/2011 |
| 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 / VBDOS | 7/1/2011 |
| 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.#inf | 6/30/2011 |
| 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 Basic | 6/27/2011 |
| 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 box | 6/24/2011 |
| 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" Moves | 5/22/2011 |
| 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 string | 4/27/2011 |
| 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 data | 4/18/2011 |
| 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 freebasic | 4/12/2011 |
| 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 subroutines | 4/5/2011 |
| 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 another | 4/1/2011 |
| 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 transforms | 3/31/2011 |
| 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 array | 3/31/2011 |
| 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 names | 3/30/2011 |
| 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, ... | |
| qbasic | 3/24/2011 |
| 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 Definition | 3/20/2011 |
| 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 database | 3/16/2011 |
| 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/2011 |
| 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/2011 |
| 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 ... | |
| USB DRIVER FOR QBASIC PROGRAM | 2/28/2011 |
| Q: . I wrote several game programs in QBASIC that, naturally, require 'keyboard' inputs to operate. I ... A: Well, QBasic probably isn't the language you'll want to use - DOS/QBasic doesn't have very good USB ... | |
| USB DRIVER FOR QBASIC PROGRAM | 2/26/2011 |
| Q: . I wrote several game programs in QBASIC that, naturally, require 'keyboard' inputs to operate. I ... A: To be honest, I have no idea what you mean by switch inputs. You'll have to give me some more ... | |
| QBASIC file/record manipulation | 2/14/2011 |
| Q: once a condition within the loop is met. I want to end the loop or somehow combine the SEEK(EOF) ... A: You'll want to use the LOF(fileHandle#) command. There are a few things to keep in mind. If you ... | |
| Q Basic | 2/8/2011 |
| Q: I use Q Basic for my business. I program letters with lprint commands and then store them in files. ... A: If you find your copy of qb.exe (or qbasic.exe, depending on your version), right-click on it, there ... | |
| Q Basic | 2/7/2011 |
| Q: I use Q Basic for my business. I program letters with lprint commands and then store them in files. ... A: I think the problem is that you are saving the files to a different directory (do you know how the ... | |
| Explaining | 2/2/2011 |
| Q: I understood the following program a little.Could you please explain me the following program better ... A: A problem I see already is that the LOCATE statement should actually be LOCATE y, x instead of x, y. ... | |
| Printing the output | 1/25/2011 |
| Q: I am trying to print the output of the program in Qbasic4.5.I created a program to display different ... A: Myself and Don (a fellow that previously volunteered his time and knowledge as an Expert here) run ... | |
| QBasic HW help | 1/23/2011 |
| Q: I need help with a program. I want to write a program that takes the contents of a string A$ and ... A: It's not a problem. I'm glad to hear you're entering into the wonderful world of programming. I ... | |
| QBasic HW help | 1/23/2011 |
| Q: I need help with a program. I want to write a program that takes the contents of a string A$ and ... A: Hey Robert, Thanks for showing me your code (that's the only way I'll help with homework questions) ... | |
| Correct format | 1/21/2011 |
| Q: aa: input"type three no.s";a,b,c here i want to make sure that if the user does any mistake while ... A: To make sure the user types in three numbers, it's more user-friendly to use a for/next loop instead ... | |
| Selection Sort And buble Sort | 1/21/2011 |
| Q: i Want to ask about an explaination for "Selection & Bubble Sorting" In QBasic Also Want to Know ... A: This sounds like a homework question (if it indeed is about QBasic), so I don't know that I can give ... | |
| paint the triangle | 1/15/2011 |
| Q: I created a triangle in qBasic4.5 in screen 12. It is DRAW"d90 r90 h90".How do I fill color in ... A: The draw command has a "p" switch that you can use to paint. First, you'll need to set the color, ... | |
| i need it to make prog. for my school | 1/12/2011 |
| Q: how to find division in qbasic A: To do math in QBasic, you'll need to use the following operators: + is for addition (obviously) - is ... | |
| learning new shapes and colors | 1/11/2011 |
| Q: I am trying to display geometrical shapes such as rectangle,triangle,circle etc in q basic 4.5 and ... A: There are a few commands you'll need to learn, but don't worry, they're all pretty easy :) First is ... | |
| freebasic + com port | 1/8/2011 |
| Q: I took your advice and loaded freebasic. It is really nice. Thank you for the suggestion. Can I ... A: Hey Mike, It's not a problem - I'm here to help :) First, it looks like you missed some of your ... | |
| QBasic Com Ports | 1/4/2011 |
| Q: Your past help was invaluable. I hope there is an answer for this. I have a serial instrument ... A: I doubled checked and indeed, QB45 only allows com port 1/2 to be accessed ( you can see that here: ... | |
| QBasic Com Ports | 1/4/2011 |
| Q: Your past help was invaluable. I hope there is an answer for this. I have a serial instrument ... A: Hehe - No worries about the name :) And I use the terms QBasic and QB45 interchangably, even though ... | |
| compiling old qb45 .bas file in qb64 | 1/3/2011 |
| Q: I am trying to compile a file in qb64. This file was written for QB45. When I am trying to compile ... A: What's happening is your program is trying to call a subroutine called SendIFC with one parameter, ... | |
| QBasic Com Ports | 1/2/2011 |
| Q: Your past help was invaluable. I hope there is an answer for this. I have a serial instrument ... A: My name is actually Alex, but it's possible I've helped you before. I have a few questions that ... | |
| hola me puedes ayudar amigo en esto | 11/28/2010 |
| Q: necesito aprender a resolver problemas de este tipo usando read y data este es el problema porfavor ... A: First off, I don't know very much Spanish (please use English). Second off, this does not seem like ... | |
| Write a program to print | 11/25/2010 |
| Q: m hma thman athmand kathmandu hma hma thman athmand kathmandu hma hma hma A: For this program, presuming it's QBasic, is this supposed to follow a pattern, or is that being read ... | |
| program | 11/20/2010 |
| Q: store a string "123456789" in a string variable &use to display following pointer 1 2 3 2 3 4 5 3 4 ... A: This is the QBasic section, and I don't deal with C# questions. You would be better asking here: ... | |
| box filling in DRAW | 11/18/2010 |
| Q: In the following program, I am testing random value assignment to an array. The output on the ... A: First, I'll say that the DRAW statement in QBasic is handy for something things, but I generally ... | |
| Searching for string in text files | 11/16/2010 |
| Q: I have a minimal amount of programming experience. I have a folder that gets several hundred text ... A: Hey Darryl, Normally I'd suggest using a BATCH script, but I am also not sure how to make an output ... | |
| Shell Command using GW-BASIC | 11/6/2010 |
| Q: Is there a way you can bypass the '8DOT3' rule using the SHELL command from GW-BASIC? see examples ... A: To be honest, I haven't ever used GW-BASIC, but I do know all sorts of work arounds for DOS. Your ... | |
| qbasic formatting txt | 10/13/2010 |
| Q: I am wondering how to; Bold underline italic size text. A: QBasic cannot do those things by itself, but I have heard of libraries using ASM to create ... | |
| plotting a 2-d point | 10/9/2010 |
| Q: Hey Alex, i have the following program GLOBAL i AS SINGLE GLOBAL j AS SINGLE GLOBAL iter ... A: I'm not sure what you are trying to do. I know some math things, but I'm not an expert in that by ... | |
| Help in Qbasic | 10/9/2010 |
| Q: See i came upon a idea that how can i make a program to do this - it prints a series like (1) ,(1+2) ... A: In a FOR/NEXT loop, your loop variable changes each loop So, if I do this: FOR i% = 1 to 5 PRINT i% ... | |
| Help in Qbasic | 10/9/2010 |
| Q: See i came upon a idea that how can i make a program to do this - it prints a series like (1) ,(1+2) ... A: This is the output I get from that program: How many times should the series repeat? 10 1= 1 1+ ... | |
| Help in Qbasic | 10/9/2010 |
| Q: See i came upon a idea that how can i make a program to do this - it prints a series like (1) ,(1+2) ... A: Oh, I'm sorry, I see what you want now: CLS INPUT "How many times should the series repeat"; ser% ... | |
| Help in Qbasic | 10/9/2010 |
| Q: See i came upon a idea that how can i make a program to do this - it prints a series like (1) ,(1+2) ... A: CLS ' ser% is the number of times to repeat the series INPUT "How many times should the series ... | |
| About the maximum number of characters per line | 10/9/2010 |
| Q: is there a maximum number of characters qbasic can read per line? I am not speaking about the ... A: ) When using the LINE INPUT, the maximum number of characters per line is 255, but that isn't what ... | |
| Help in Qbasic | 10/9/2010 |
| Q: See i came upon a idea that how can i make a program to do this - it prints a series like (1) ,(1+2) ... A: Hey Harjyot, THe problem is you haven't assigned sum, so your math to QBasic looks like this: total ... | |
| plotting a 2-d point | 10/9/2010 |
| Q: Hey Alex, i have the following program GLOBAL i AS SINGLE GLOBAL j AS SINGLE GLOBAL iter ... A: At the beginning of the program, you'll need to set the screen mode, but we're limited to DOS and ... | |
| QBasic HW | 9/29/2010 |
| Q: ok here it is, i wanted the formulas in the data statement to be answered CLS PRINT "Activity", ... A: Robert :) Sorry I had to get you to jump through a few hoops. We can actually make this program a ... | |
| Continuation of a past question | 9/16/2010 |
| Q: first of all thank you for your answer. My question and your answer run thus: Dear all,i am trying ... A: Sorry, I misunderstood how the data would be formed. This is how I would do it, then: ' Setup the ... | |
| Continuation of a past question | 9/15/2010 |
| Q: first of all thank you for your answer. My question and your answer run thus: Dear all,i am trying ... A: It looks like all your data is separated by | characters, so you could look for that in the string. ... | |
| Reading data from a .txt file in case it is not formatted | 9/15/2010 |
| Q: i am trying to make a small qbasic program that reads some data from a text file. The part of the ... A: This is how I would do it: ' Setup the file number DIM SHARED filehandle AS INTEGER filehandle = ... | |
| definitions of record in different programming languages | 8/21/2010 |
| Q: i want to know all the programming languages that make use of records and how they define records. ... A: Technically, all programming languages that allow file i/o can handle "records" - QBasic is a ... | |
| games programmed with qb45 working on windows xp are not supported by vista nor 7 | 8/5/2010 |
| Q: in the progam ,compiled with qb45 compiler, i used the instructions screen 0 ,screen 8 and screen 12 ... A: Beyond WindowsXP, there are very many limitations from DOS/COMMAND PROMPT that will limit your ... | |
| please solve this problem and send me reply | 8/2/2010 |
| Q: write a program to input the full name of a person;S and display starting name only for example: Ram ... A: I do not do homework questions if you do not show me that you have tried to answer it yourself. I'll ... | |
| qbasic | 6/27/2010 |
| Q: 1-write a programme that find and and return the smallest number from the btwo numbers 2-write a ... A: About every 8 months I get the same school questions. I'll give you some hints, but just check my ... | |
| QBasic | 6/23/2010 |
| Q: I am Kedar. Sir, Please help me; I want to QBasic Tutorial in Gujarati Language, Please give me ... A: I don't know any tutorials in that language off the top of my head, but you can always search on the ... | |
| Help for QBasic newbie!!! | 6/23/2010 |
| Q: Perhaps you could answer a QuickBASIC 4.5 question for me? I'm *not* a BASIC programmer... just ... A: I have two suggestions. The first is somewhat obvious, but it asks thedoes the program need to be ... | |
| QB64 - where is the "open file" directory | 6/17/2010 |
| Q: I'm trying to move my QB programs to QB64. In QB, I normally input my data file name via: Input ... A: I'm not exactly sure what the problem is, but this is what I would suggest. Determine the full ... | |
| QBasic | 6/12/2010 |
| Q: I am beginner of Qbasic. I want to create a billing software with QBasic please give me source ... A: If you are just learning to program, maybe making billing software shouldn't be your first project - ... | |
| question | 5/28/2010 |
| Q: i am confused that what is the difference between Qbasic and QuickBasic? could you please solve my ... A: No problem, smile, QBasic and QuickBASIC essentially are programmed the same way, if that's what ... | |
| question | 5/28/2010 |
| Q: i am confused that what is the difference between Qbasic and QuickBasic? could you please solve my ... A: QuickBasic is the interpreter plus libraries and extended functionality. Version 4.5 and also come ... | |
| Follow up to: Obtaining a hard copy print out from a QBasic program on a USB port only printer | 5/26/2010 |
| Q: Alex. I've been programming in Basic (now QBasic)since the Commodore days. I even taught Basic ... A: I think I need more information about how your printer is setup and connected to your computer - ... | |
| Obtaining a hard copy print out from a QBasic program on a USB port only printer | 5/23/2010 |
| Q: Alex. I've been programming in Basic (now QBasic)since the Commodore days. I even taught Basic ... A: If you are running Windows XP (or another operating system with DOSBox), you should be able to just ... | |
| How can I write a SUB procedure? | 5/17/2010 |
| Q: I am a Qbasic student . I need a simpler way of writing this code. Thank you Sir. I mean like using ... A: David, It looks like you want to learn about neural networking. I don't know of any implementation ... | |
| scrool bar | 5/12/2010 |
| Q: how to make the scrool bar in q basic programming in output screen? please send me the code A: There isn't a simple way to make a scrollbar in QBasic, but this is how I would do it: DECLARE SUB ... | |
| Graphics in QBasic | 5/1/2010 |
| Q: Alex, I am working on a program (all the Data access and function etc work perfectly) BUT I have no ... A: Andy, It's funny, I just realized that you mistyped "scroll" as "scrowl" (which confused me quite a ... | |
| Graphics in QBasic | 5/1/2010 |
| Q: Alex, I am working on a program (all the Data access and function etc work perfectly) BUT I have no ... A: Andy, QBasic was implemented to be essentially one graphics mode per program. You can, of course, ... | |
| problem with keyboard | 4/20/2010 |
| Q: I have installed qb45 on my new laptop, running with Vista. It works, but the keyboard does show the ... A: Manuel, I'm not sure if QBasic has proper spanish support, and to be honest, no one has ever asked ... | |
| Continuation of earlier question | 4/18/2010 |
| Q: I asked you a question earlier about making a telephone directory, you requested i try and work on ... A: Hey Dan, Thanks for showing some work. Unfortunately, it doesn't look like you tested it (because ... | |
| telephone directory | 4/15/2010 |
| Q: I have been given a task to do on quick basic and i am not very familiar with programming at all...I ... A: This smells like a final project/homework question. That being said, I will still help you, but you ... | |
| CHR$ | 4/2/2010 |
| Q: Alex, First of all, thanks for the help you give. I've used some of your answers before and they ... A: Hey, Joe, Printing those character may or may not produce a character on the screen. CHR$(7) ... | |
| Locating repeating characters | 3/31/2010 |
| Q: I need a quickbasic program to search a string for a repeated character e.g., "succeed" it would ... A: Jeremy, I should quickly ask this before answering: repeated in a row, or just number of ... | |
| help neede in solving a qbasic qs!! | 3/30/2010 |
| Q: program to input the number of pages to print and output the number of packets required.one packet ... A: hackerooo7, I need a lot more information to help you answer this question, like where are you ... | |
| QBASIC Language | 3/22/2010 |
| Q: List all the QBASIC languages A: Chiamaka, I have no idea what you mean by QBasic languages, but you could mean one of the ... | |
| QBasic CHDIR to Desktop | 3/20/2010 |
| Q: I am working on a small program to organize my homework files in a computer science class. This is ... A: Joseph, Thanks for providing your code and a detailed question. I don't get both of those at once ... | |
| Keep getting the same answer | 3/14/2010 |
| Q: I'm trying to make a numbers program, It starts out by me entering numbers, Qbasic then subtracts ... A: Spence, This sounds like a popular project in someone's programming class (you are the second ... | |
| Validating a number field and checking for alphanumeric characters. | 3/14/2010 |
| Q: I noticed your program for printing Ascii scan codes and using Inkey$. I have been trying to find ... A: Jerrell, Can I see how you are implementing that in your code? The first function I gave you works ... | |
| Validating a number field and checking for alphanumeric characters. | 3/14/2010 |
| Q: I noticed your program for printing Ascii scan codes and using Inkey$. I have been trying to find ... A: Hey, sorry, Jerrel, I was thinking in half-qbasic, half another language. This is how the function ... | |
| Basic | 3/13/2010 |
| Q: Is there a way in Basic to have the program shutdown when all processing if finished. Right now it ... A: Val, I think what you're asking is how would you go about avoiding the "Press Any Key To Continue" ... | |
| Validating a number field and checking for alphanumeric characters. | 3/13/2010 |
| Q: I noticed your program for printing Ascii scan codes and using Inkey$. I have been trying to find ... A: Jerrell, So, I'm going to assume that you are inputting with strings, then later converting them to ... | |
| QBasic to C ++ translator? | 3/11/2010 |
| Q: Is there a software that can convert a QBasic program code into C++ code? Once translated, can I ... A: Teresa, I did some searches on the internet and can't find a free program that does this. If you ... | |
| QUERRY | 3/7/2010 |
| Q: HOW CAN I DRAW 2 INTERSECTING CIRCLES AND SHADE THE COMMON AREA IN COLOR A: Suryansh, For this to work, you will need both circles to be the same colour (here, I'll draw them ... | |
| Translation Program | 3/2/2010 |
| Q: I am quite knew at QBasic, and I am looking at creating a translation program, the type where I ... A: Thomas, To program this, you will need a file that you can lookup words from. There are no ... | |
| Qbasic | 2/19/2010 |
| Q: Please can give your algarithm of spiral matrix ex: input 4 1 5 4 6 8 1 1 5 4 9 8 4 5 1 3 ... A: Janara, I don't usually give the answers for competitions, but you caught me in a good mood this ... | |
| Qbasic lotto number generator problem | 2/18/2010 |
| Q: I tried to enter this code as a lotto number generator to generate number between 1 to 44, but it ... A: Yatz, It looks like your problem is that you aren't putting a closing quote around the string. ... | |
| qbasic | 2/15/2010 |
| Q: what are the uses of qbasic A: debajyota, That is a very broad question, but as a programming language, it is commonly used for ... | |
| Qbasic | 2/14/2010 |
| Q: I asked you a question day before yesterday. You've been really kind . I have typed my program but ... A: shibani, I can't track the problem down just by your code (right now, I'm running Linux, so I don't ... | |
| record structures and subs | 2/11/2010 |
| Q: Sir, I have a project due in which i have to create a main menu n display it , allow new members ... A: I had sorting information in the first post, but here it is again: DIM members(x TO y) AS Member ... | |
| record structures and subs | 2/11/2010 |
| Q: Sir, I have a project due in which i have to create a main menu n display it , allow new members ... A: shibani, Sorry for the misunderstanding of your question, So, if you have first and last name, as ... | |
| record structures and subs | 2/11/2010 |
| Q: Sir, I have a project due in which i have to create a main menu n display it , allow new members ... A: shibani, I don't do homework questions, let alone projects, but I can give you some general tips. ... | |
| header of .mcs file | 2/10/2010 |
| Q: I want to remove the header part from my ascii data file .mcs it is around 512 byte in length with ... A: swaroop, If you mean that you want to rewrite the file (or a series of files) so there is no ... | |
| Blocked! | 2/4/2010 |
| Q: Here is a prog.part. LOID =-18 (can be >0 or <0) LOIAR >0 (in this exemple =60) wants to decrease ... A: Legrand, I'm not sure that I follow your question at all, but I'll see if I can help you out a bit. ... | |
| QBasic File name | 2/2/2010 |
| Q: I have text files with file names like 1.txt, 2.txt, 2.txt, etc. I wrote a qb45 program that opens ... A: Mike, To do this, you probably have an extract$ variable that has the extract date on it. The name ... | |
| File i/o in qbasic? | 1/23/2010 |
| Q: Hey, How do you save data from qbasic to a external file, such as "name.txt" or something? I can do ... A: Hey, Pete, No worries, I understand what you're asking. The best way to deal with this is to work ... | |
| Saving data to file | 1/22/2010 |
| Q: Hey, How do you save data from qbasic to a external file, such as "name.txt" or something? I can do ... A: Pete, When you create a file for OUTPUT, it will clear the file each time it's opened, and only put ... | |
| deleting a name | 1/19/2010 |
| Q: I've been looking for a way to delete a name in an address book program and nothing has come up that ... A: Drew, It's tough to say exactly how to do this, because I don't have enough information on how the ... | |
| Records in subs | 1/13/2010 |
| Q: I'm working on a project where I need to pass a record into an array, I know I had learned the ... A: Hey, Joran, Sorry for the delay in my reply. To pass a record to a sub is easy: TYPE FileRecord ... | |
| Records in subs | 1/8/2010 |
| Q: I'm working on a project where I need to pass a record into an array, I know I had learned the ... A: Joran, By a record, do you mean from a BINARY/RANDOM file? So, lets say your record looks like ... | |
| Storing data | 1/7/2010 |
| Q: Hey, I am trying to make a telephone directory kinda program, just to get back into qbasic and ... A: Abhi, I have a few questions (although I'll make a few assumptions to make some mock-examples for ... | |
| Qhickbasic and USB interface | 1/4/2010 |
| Q: is there any way to "fool the computer", make Quickbasic think that the USB port is LPT1, and write ... A: Terry, If you are just using your printer, put that batch file in your qbasic directory and write ... | |
| Qhickbasic and USB interface | 12/31/2009 |
| Q: is there any way to "fool the computer", make Quickbasic think that the USB port is LPT1, and write ... A: Terry, As far as I know, I don't think this is possible. I believe there are some ASM-based ... | |
| Make an Analogous Clock | 12/20/2009 |
| Q: Using Quick Basic make an Analogous Clock that would show current time and hands moving with time, ... A: Minies01 (again) :), There are a bunch of ways to do this, and I'll show you a fairly basic way to ... | |
| Reverse the Input Number | 12/12/2009 |
| Q: Write a Program which Reverses the Number which ever is given to it, like 3654 will become 4563. A: Minies01, Here is the easiest way to approach this: 1. Create an integer variable, then a string ... | |
| "Press Any Key To Continue" | 12/10/2009 |
| Q: When any Qbasic program I have ever written finishes, it always puts "Press Any Key To Continue" on ... A: Joran, The "press any key to continue" text at the end of your program is a feature of QBasic, and ... | |
| Qbasic | 12/6/2009 |
| Q: I cannot figure out how to get my Qbasic program to center the output on the page. Can you help ... A: Jullya, QBasic doesn't natively handle centered output, but it's not too tricky, either. Here is a ... | |
| vista & qbasic | 12/4/2009 |
| Q: sir, does qbasic can be run on vista?if yes how and if no why? A: Aryan, Natively, Vista has removed much of it's old-DOS support, which makes it practically ... | |
| question about data.. | 11/25/2009 |
| Q: what is the difference between in data records ,data and fields in qbasic? A: Namrata, Just to be sure, you're asking the difference between: * A random file record * A field ... | |
| put and get,,, | 11/21/2009 |
| Q: Explain how to use put and get statements... got a Qbasic class, and the project is to make a ... A: again, Tory, So, Just reading over things, it sounds like you would want the graphical GET/PUT ... | |
| ROUNDING OFF NUMBERS | 11/20/2009 |
| Q: Sir, i would like to ask how to round off numbers in Qbasic? for example: 9.1666667E-03 <- i need ... A: Oliver, QBasic doesn't have a built in ability to round numbers to decimal places. What I would ... | |
| printing with qbasic | 11/19/2009 |
| Q: I run qbasic 4.5 in a window using xp professional. Have had no trouble printing to my xerox phaser ... A: Jack, Can I see your code for printing? In my opinion, it sounds like the problem is: 1) The code ... | |
| put and get,,, | 11/18/2009 |
| Q: Explain how to use put and get statements... got a Qbasic class, and the project is to make a ... A: Tory, You'll have to be a little more specific for me to help you. There is a GET/PUT statement ... | |
| Beep | 11/18/2009 |
| Q: Our teacher told us to create a program in Quick basic that used the beep statement. I don't know ... A: Henry, To make just a beep noise, in QBasic, you would do this: BEEP To make different notes, you ... | |
| USB subroutines for Quickbasic | 11/15/2009 |
| Q: Alex, I am trying to write a Quickbasic program that will receive input from a MIDI keyboard that ... A: Robert, I don't think MIDI keyboards and USB combine (I may be wrong), and if they do, and you are ... | |
| Qbasic Search/Replace string in text file. | 11/13/2009 |
| Q: I am zero in programming as I am a Hardware guy. I saw your posting about searching a string in ... A: K.Ayyappan, This is how I would do that: For the sake of simplicity, I'll assume you won't have ... | |
| 'Draw' Command in QuickBasic | 11/10/2009 |
| Q: I couldn't understand this line- DRAW "b m0," + STR$(yp+j) + ",8 c7" Could you please explain to me ... A: Kim, The draw statement information can be found here: ... | |
| Some other questions | 10/22/2009 |
| Q: I have some general questions today. Please help me with them: 1. How do you input only 1 character ... A: Shane, There might be a DOS shortcut in the directory (a pif file). If there is, delete it. Then ... | |
| Some other questions | 10/21/2009 |
| Q: I have some general questions today. Please help me with them: 1. How do you input only 1 character ... A: Shane, For question#1, you can use this code: PRINT "Question? [Y/N] "; DIM answer AS STRING * 1 ... | |
| Search problem | 10/18/2009 |
| Q: I'm doing a library catalog program for my school project. I'm having problem in the Search() SUB ... A: Shane, I think this is the problem with your code: FOR M = START TO LEN(C$) P$ = MID$(C$, M, 1) IF ... | |
| read statements | 10/13/2009 |
| Q: could you please explain read and data statements and how to use them. i have a very usless hardass ... A: corndog (nice nickname), I can definitely help you understand READ and DATA statements. A data ... | |
| qbasic serialport on xp | 10/10/2009 |
| Q: I am developing some simple robotics projects - eg remote lawnmower. I was hoping to do some simple ... A: David, I do believe you are right about windows limiting access to hardware from a dos-prompt. ... | |
| dos converting | 9/30/2009 |
| Q: Is there a way to convert messages sent to me in DOS form over to windows or through another tool? I ... A: Skip, Well, this isn't the DOS section, this is the QBasic section - I'm not as well in knowledge ... | |
| array in qbasic function | 9/16/2009 |
| Q: Is it possible to pass array as an argument/parameter in qbasic function? if yes, please let me ... A: Ranj, Yes, to pass an array to a SUB/FUNCTION, this is what you'd need to do: DECLARE SUB ... | |
| triangle | 9/4/2009 |
| Q: how can put for loop ina program and how can creat a triangle shap with a charactor A: navin, To make a for loop, this is what you do: FOR variable% = minvalue% TO maxvalue% [STEP ... | |
| quick basic | 8/28/2009 |
| Q: i have told to take out the sum of first five even numbers.. how to do... explain A: Vasudha, Well, I don't know what you mean by "take out the sum" but I can tell you have to check to ... | |
| batch file wanted | 8/19/2009 |
| Q: I'm trying to make a batch file to back up new documents to a flash drive so if the hard drive goes ... A: Jim, First, I want to note that this is the QBasic section, and not a DOS-Batch section, so ... | |
| Input text file | 7/29/2009 |
| Q: I'm trying to input a text file,without commas, such as - John Doe 9 $2,000,000 Bill Niceguy 12 ... A: John, First, I want to address a problem I see with your example inputted information (and how we ... | |
| hide password details | 7/12/2009 |
| Q: how do i hide password details so when i input my password it displays *'s A: Rasheed, I've heard a lot of people ask this question (here, and on various qbasic forums), so I ... | |
| acquiring/controlling usb with Quickbasic | 7/6/2009 |
| Q: I would like to use an old application written in quickbasic (which acquired/controlled data from ... A: Sonia, There are two options for updating the code. My first option would be to download FreeBASIC ... | |
| Number of files in a folder. | 7/3/2009 |
| Q: I haven't programmed in Quick Basic in years, but dusted it off again for a quick fix I need for a ... A: Gerjan, The simplest way to do this is to use DOS inside QBasic. Here is how I would do it: ... | |
| qbasic strings | 6/25/2009 |
| Q: I need help with my code, I have asked my teacher but she's not that nice and doesnt really make me ... A: Jorge, I think I can point you in the right direction. Your code for getting the length (your FOR ... | |
| What is text1.text in qbasic | 6/24/2009 |
| Q: I'm taking classes for a 9th grade student from a different school. She's got the following code for ... A: Smitha, text1.text is definately a variable, but just how it is written, it looks like it is more ... | |
| QB45 Application Update | 6/22/2009 |
| Q: Alex, I have an old QB45 application that I wrote in the early 90s. It uses vga screen mode 12 and ... A: James, I don't think visual basic will do what you want, however, there are a few options you could ... | |
| RAm program | 6/14/2009 |
| Q: I asked a question earlier, not sure if this would help. Thxs if u can help. Im rlly clueless about ... A: Sorry it took me a while to get back to this - I've had my plate full for a little while. It's ... | |
| RAM program | 6/12/2009 |
| Q: I have no clue on how to do this RAM program. Write a program that lets the LED turn on one a time ... A: Jon, I haven't tinkered with this sort of thing (LEDs...probably through the parallel port?), but I ... | |
| qbasic lotto numbers | 6/8/2009 |
| Q: hey i was wondering if you could help me with my assignments. In one of them I have to print 6 ... A: Jorge, I'm glad to hear you want to be a programmer. I'll say as much that QBasic doesn't have a ... | |
| Q-Basic for Vista 64 | 5/30/2009 |
| Q: is there a download available? A: Donn, The short answer is no, there is no Qbasic version that is specifically built for windows ... | |
| "printscreen" from Quick Basic | 5/29/2009 |
| Q: I have a laptop with XP. At one time -- I think on an old Win98 system computer -- I used to put ... A: again, As far as I knew, the print screen function was working with qbasic in windows xp. I just ... | |
| freebasic | 5/22/2009 |
| Q: I am fairly new to FREEBASIC and have not written many programmes. I had version 4.6 and updated to ... A: Hey, Bill, Okay, that makes quite a bit more sense (with the version being fbide). So, if the ... | |
| need a perfect data to save!! | 5/17/2009 |
| Q: for some reason i need to store a perfect number in a file. by perfect number i mean like ... A: Saif, Sorry for the delay. 1. As far as storing a large number, if there is no decimal, use a long ... | |
| freebasic | 5/15/2009 |
| Q: I am fairly new to FREEBASIC and have not written many programmes. I had version 4.6 and updated to ... A: Bill, I'm not sure what versions you are using. Right now, the compiler version is 0.20beta ...so ... | |
| Creating a Password file in Q Basic | 5/4/2009 |
| Q: I've been trying to create an Email program that allows a user to sign up, and also view their ... A: Sovann, To do this sort of program, you'll need to do a lot of work on your code. First, I'm going ... | |
| Qbasic line splitting, filtering program | 5/3/2009 |
| Q: Can QBasic be used to read in (or filter) a text (.txt) file that has more that 256 comma delimited ... A: Don, I think you would want something like this: DIM i AS INTEGER DIM l AS INTEGER DIM d AS ... | |
| Variable in Open | 4/27/2009 |
| Q: I am trying to make a program which makes you input your name then uses open statement to make a ... A: again, Chad, I think you may benefit from some code I just posted to answer another person'sTo do ... | |
| Variable in Open | 4/24/2009 |
| Q: I am trying to make a program which makes you input your name then uses open statement to make a ... A: Chad, This is a fairly common issue, but I can definately help you out. In QBasic, anything ... | |
| Program | 4/13/2009 |
| Q: Yo what's up. I have a program to do. We get 2 numbers to input. Lets say the numbers are 4 and 5. ... A: Rijad, To be honest, I've never done a program to do this, but I'll see what I can do to help you ... | |
| QuickBasic 4.5 | 4/4/2009 |
| Q: I've made quite a lot of programs in QB,they still run as EXE prog.in XP & Vista but since USB ... A: So, if your question is how to make that code work with a usb printer: 6000 DIM toprint AS STRING ... | |
| leap year program for qbasic | 3/31/2009 |
| Q: I need to know how to write a leap year program on quickbasic but i cant figure it out will someone ... A: Daniel, To figure that out, check out this link: http://support.microsoft.com/kb/214019 To move ... | |
| IP Addresses | 3/26/2009 |
| Q: but could you please tell me how to find other person's IP address when we are chatting with that ... A: Raman, You'll have to tell me how you are chatting with dos commands. Are you running a chat ... | |
| QuickBasic 4.5 | 3/25/2009 |
| Q: I've made quite a lot of programs in QB,they still run as EXE prog.in XP & Vista but since USB ... A: Laurent, Yes, it is true, DOS has some trouble communicating with USB printers, but there is a ... | |
| DOS(disk operating sysytem) | 3/25/2009 |
| Q: I am Raman .I wanna do DOS commands course could you please tell me that what the DOS commands ... A: Raman, I think a good place to start is here: http://en.wikipedia.org/wiki/List_of_DOS_commands As ... | |
| Status Bit from serial port | 3/24/2009 |
| Q: I was wondering if you could help. I am using DOS for a EPoS application and I need to know how to ... A: Andy, I can see what you are doing, but I think to help you, I'll need to see all of your code. ... | |
| script writing | 3/22/2009 |
| Q: I was wondering if you could help me write a simple "run" program or script. I have Windows Vista. ... A: Paul, This really isn't a QBasic question, but here are a few ideas: On your desktop, do a right ... | |
| im a begginer on Qbasic can you help me? | 3/15/2009 |
| Q: look i have been reading Qbasic for a little while now im on chapter 10 im having a hard time ... A: Greg, I have no idea what book you are on chapter 10 on, but if you want advice for creating ... | |
| Finding modes with Qbasic | 3/13/2009 |
| Q: Hey i'm a teacher and have been trying to write a program that will be able to give me information ... A: Jason, If you wanted to get the mode (most common number, yes?), there are a few ways to do it. I ... | |
| Passing Parameters | 3/12/2009 |
| Q: i hope you can give me some idea regarding my problem. Can I pass a parameter coming from the ... A: Again, QBasic doesn't have a built in function to see if a file exists. There are a few "hacks" to ... | |
| Unique number generating | 3/10/2009 |
| Q: I read your past answers but none of them seemed to help me with my problem.(this is the first time ... A: Thomas, To solve this, the easiest way is to make an array that stores all the numbers you draw. ... | |
| Passing Parameters | 3/9/2009 |
| Q: i hope you can give me some idea regarding my problem. Can I pass a parameter coming from the ... A: Jojo, What you'll want is to use the COMMAND$() built-in array. I'm not sure if this will work ... | |
| help | 3/6/2009 |
| Q: I see you are an expert with qbasic, so i thought you sure were able to help me with my problem. See ... A: Faris, It looks like there are 3 steps to this program. First, you have to get the string name: ... | |
| Combining files | 2/25/2009 |
| Q: I have a series of .txt files that are all the same number rows and columns with rows separated by ... A: Tim, If I were you, this is how I would do it: ' x is the number of files you intend on using. ... | |
| qbasic | 2/11/2009 |
| Q: Me again. Thanks for your help so far. I have your code up and running. The reason I tried it was ... A: Hey, Bill, A thought just occured to me, this may not help though, but in the UDT for RegType, ... | |
| From which website you download Qbasic? | 2/8/2009 |
| Q: From which website you download Qbasic? A: harsh, There used to be quite a few places to download it, but it seems that this number is ... | |
| qbasic | 2/6/2009 |
| Q: Have tried your mouse code posted 11/16/2007. All I get when I run it is numerous errors in the ... A: Bill, Sorry, I forgot some of qb1.1's syntax is more picky about periods Here is how the code ... | |
| qbasic | 2/3/2009 |
| Q: Have tried your mouse code posted 11/16/2007. All I get when I run it is numerous errors in the ... A: Bill, Yes, that mouse code is tailored for QBasic4.5 The reason it won't work is lesser versions ... | |
| Records | 2/1/2009 |
| Q: Hey Alex, My name is Nayeera Ali and i am doing a QBasic assignment for school and I am ... A: Nayeera Ali, It looks like your program is display the room availability, but is being erased right ... | |
| Timer control problem in VBDOS | 2/1/2009 |
| Q: I'm experimenting with simple machine control using VBDOS (Why VBDOS? Because I have it and because ... A: Graham, I, unfortunately, have not programmed in VBDOS before, so I really can't help you very much. ... | |
| Using .bat to open a .prn in excel | 1/27/2009 |
| Q: I've tried this one with a couple excel experts and seem to have them stumped...maybe you can help?? ... A: Jody, This isn't a QBasic question, but I may be able to help you out a little bit. First, *.prn ... | |
| problem in reading sequencial file | 1/24/2009 |
| Q: i am making a qbasic program that can calculate telephone bill.i made a log in system.each user have ... A: He, Saif, Your problem is in this chunk of code: OPEN "C:\tdata.dat" FOR INPUT AS #1 DO UNTIL ... | |
| problem in reading sequencial file | 1/23/2009 |
| Q: i am making a qbasic program that can calculate telephone bill.i made a log in system.each user have ... A: again, Saif, Sorry, I didn't realize, but my WHILE/WEND is a little faulty. Here is how step 6 ... | |
| problem in reading sequencial file | 1/22/2009 |
| Q: i am making a qbasic program that can calculate telephone bill.i made a log in system.each user have ... A: Saif, Here is how to correct the code: 6 CLS COLOR 7 PRINT " PLEASE LOGIN" COLOR 9 LOCATE 11, 1 ... | |
| Parsing data from a *.txt file | 1/20/2009 |
| Q: I am working with a file in a format that has spaces between characters. I need to pull out each set ... A: Hey, Mike, I'm really not too sure what you mean by plotting. If you are making a graph, which ... | |
| Parsing data from a *.txt file | 1/19/2009 |
| Q: I am working with a file in a format that has spaces between characters. I need to pull out each set ... A: Mike, I think you'll want to try something like this: dim s as integer dim f as integer dim i as ... | |
| Qbasic Adding from a Data File | 12/20/2008 |
| Q: I have been going at this for several hours for an assignment and I cant seem to figure out what to ... A: Ulises, Thanks for showing your work. That basically means I'll help - I only help with homework ... | |
| Follow-Up: Exporting 'live' Excel data into Qbasic 4.5 | 12/19/2008 |
| Q: I am trying to analyze real-time stock market data. My data vendor allows me to export their data ... A: Hey, James, I've been doing some research on DDE, and I have some information for you. ... | |
| Exporting 'live' Excel data into Qbasic 4.5 | 12/19/2008 |
| Q: I am trying to analyze real-time stock market data. My data vendor allows me to export their data ... A: James, My professional opinion is that this is beyond QBasic's natural ability. This is not to ... | |
| LPRINT | 12/19/2008 |
| Q: My XP Dell computer apparently does not support LPRINT statements. Is there some way around this? ... A: Richard, All DOS will support LPRINT, and any computer running WinXP has a dos-prompt, so it's ... | |
| Convert something to binary or just that people can't edit it. | 12/12/2008 |
| Q: i made a trial program which writes the PostCount to a file. but i can edit it and that's bad. is ... A: Remon, Here is the working code: TYPE RunCount date AS STRING * 10 rand AS INTEGER uname AS ... | |
| NOTICE METHOD USING MICROSOFT PROGRAMS | 12/10/2008 |
| Q: I WANT USING MICROSOFT PROGRAMS WRITE MY MEMORIES BY DATE AND THE DAY OF MEMORY NOTICE A CHANGE OF ... A: Ahmed, I have no idea what you are asking - I'd love to help, but you'll need to be more clear. by ... | |
| Convert something to binary or just that people can't edit it. | 12/8/2008 |
| Q: i made a trial program which writes the PostCount to a file. but i can edit it and that's bad. is ... A: Sorry, I just checked my code. You'll have to replace all of the: name AS STRING to uname AS STRING ... | |
| Convert something to binary or just that people can't edit it. | 12/8/2008 |
| Q: i made a trial program which writes the PostCount to a file. but i can edit it and that's bad. is ... A: Remon, The easiest way to encrypt something that is not-edittable is to first, instead of using an ... | |
| Creating a file based on user input | 12/5/2008 |
| Q: I appreciate your help in the past. I have a new issue. I want the user to tell me what the serial ... A: Mike, I'm not 100% sure what you're asking, but I may see the problem in your code. you have: Open ... | |
| saving array to file | 11/28/2008 |
| Q: I would like to save a graphics array obtained from a GET statement to a disk file so that I can ... A: hey, Ross, Sorry for the delayed answer. Here is probably the best way to do things: Function ... | |
| qbasic | 11/25/2008 |
| Q: i was wondering if there is a command in QBasic which will allow me to clear sections of the ... A: Mike, For text mode, you'd be best to write your own function for clearing bits of the screen. ... | |
| Qbasic Max Baud Rate | 11/14/2008 |
| Q: This should be quick for you. How can I set up the baud rate in an OPEN "com1~" statement to run ... A: Reggie, I believe that QBasic has built in limits, so it's not possible to use OPEN COM to go above ... | |
| QuickBasic and QuickBasic executables don't work in Vista | 11/13/2008 |
| Q: Just got a new computer with Vista and QuickBasic and executable programs from quickbasic don't ... A: David, Unfortunately, after Windows 98, Microsoft began separating Windows and the DOS platform. ... | |
| case selects in qbasic | 11/6/2008 |
| Q: Ok I know you dont do homework but im asking about a question in the homework and not acutally to do ... A: Mohammed, I don't mind doing homework, as long as you show me you've done work, or if, in your ... | |
| led | 11/3/2008 |
| Q: how do i program a keyboard leds to turn on /off A: zizi, If you are talking about the Num/Scroll/Caps lock LEDs, here is how to do it: DECLARE SUB ... | |
| qbasic string | 10/29/2008 |
| Q: How do you create an input where the user is only allowed to enter in a letters(alpha), I tried ... A: Mohammed, To filter which keys are pressed, you'll have to create a custom input system. Here is ... | |
| Follow up question | 10/22/2008 |
| Q: I changed to LOF but got compile error "Input past end of file" ANSWER: then perhaps LOF should be ... A: Hey, Mike, Again, I haven't done anything like this before, but it would be my assumption that at ... | |
| Convert from Hex to Dec from serial poll | 10/22/2008 |
| Q: I am talking serially to a power supply I send a command and I get a response that says ADDR:1A ... A: Mike, I'm glad that other information did the trick. Now, as far as this problem goes, if the power ... | |
| qbasic | 10/19/2008 |
| Q: Alex: Thank you for the last info that I asked you for as it works fine now. My newest problem is ... A: Gerry, If you are running QBasic from inside of Windows, simply by specifying LPrint or OPEN ... | |
| QBasic timeout in Windows Xp | 10/10/2008 |
| Q: I use QBasic version 1.1 & QB4.5 in a DOS Window in Windows 98,...XP. Once in a while I program a ... A: George, My humble for the extreme delay. What sort of calculations are you making? If it is in a ... | |
| date | 10/7/2008 |
| Q: i know how to print the current date from the system clock in the form DD/MM/YYYY. datemm$ = ... A: Mike, Sorry for the major delay, work piled up and I didn't get to my emails for quite a while, and ... | |
| Save computed data to disk | 10/4/2008 |
| Q: IN a QBasic 3 program I have computed a series of x,y co-ordinates. I'm trying to write or print ... A: Again, I think the program has something to do with the file access handle. Instead of saying "AS ... | |
| Save computed data to disk | 10/3/2008 |
| Q: IN a QBasic 3 program I have computed a series of x,y co-ordinates. I'm trying to write or print ... A: "a:\" refers to the 3.5" floppy drive. You either need to have a disk in the floppy drive, or ... | |
| OPEN RANDOM | 9/18/2008 |
| Q: I programmed using Qbasic 4.5 a long time ago. Now I am getting back into it, but am having trouble ... A: Scot, I think that you are making your code a little more complex than it has to be DIM FileID AS ... | |
| qbasic tutorials | 8/26/2008 |
| Q: I have taught visual basic programming for several years, but this year I am teaching a distance ... A: Kim, One thing that most people (?) would enjoy is tinkering with the graphics capabilities. I see ... | |
| Starting Excel from the Shell command | 7/28/2008 |
| Q: I do a lot of Quickbasic programming. Often error reports are put into .CSV files but people find it ... A: Sunil, I don't think it's memory handling problem, probably just how QBasic Shell() works. My ... | |
| QuickBasic Graphic files in Windows XP | 7/22/2008 |
| Q: Like most older retired Engineers, I have been a serious BASIC guy since 1978 Radia Shack Model ... A: Don, My humble apologies for the extremely delayed response. I have been searching for a decent ... | |
| Convert from Hex to Dec from serial poll | 7/3/2008 |
| 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 than | 7/2/2008 |
| 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 ... | |
| INKEY$ not working in SCREEN 13 | 6/27/2008 |
| 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 ... | |
| Mouse Subprogram for QB4.5 | 6/15/2008 |
| 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 | 5/30/2008 |
| 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 Subroutines | 5/29/2008 |
| 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/2008 |
| 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 file | 5/26/2008 |
| 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 file | 5/26/2008 |
| 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 file | 5/23/2008 |
| 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 ... | |
| Alphabetical Sorting | 5/13/2008 |
| 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 ... | |
| Screen saver custom text | 4/17/2008 |
| 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 ... | |
| Sequential file manpulation | 4/4/2008 |
| 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 ... | |
| qbasic | 4/1/2008 |
| 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 ... | |
| school | 3/27/2008 |
| 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 ... | |
| Multimonitor | 3/18/2008 |
| 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 ... | |
| random sorting | 3/12/2008 |
| 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 QuickBasic | 2/28/2008 |
| 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 Problems | 2/28/2008 |
| 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 ... | |
| permutations | 2/28/2008 |
| 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 ... | |
| Printing QBasic to a Serial Port | 2/26/2008 |
| 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 ... | |
| Printing QBasic to a Serial Port | 2/25/2008 |
| Q: I have been using Qbasic.4.5 since My daughter bought me an Atari keyboard that used a tape recorder ... A: Tony, I'm a little confused whether or not you are using an old commadore system or something ... | |
| "Lines in quick basic | 2/12/2008 |
| Q: Ive gotten to pick you to help me on how to draw lines in q-basic especially to the right of the ... A: In QBasic, to draw lines, first you need to set the Screen. For amusement, we'll use Screen 12 ... | |
| Printing through Ethernet IP Address | 1/28/2008 |
| Q: We have QBasic running on several computers that are networked to our laser printer via ethernet ... A: Jeremy, Unfortunately, to solve the problem, I'd need to know the brand/series of your printer. ... | |
| Help in Qbasic | 1/19/2008 |
| Q: I tought myself qbasic 7.1 and have been trying to find a way to use the mouse. So I looked for a ... A: sir, It just so happens that most of your questions have been in my recent answers to other ... | |
| File manupulation in QBasic | 1/18/2008 |
| Q: I have 10 files that need to be appended together. All the files are in the same folder and have ... A: Nick, What you want to do is thankfully simple :) If this is a one time use program, this is how I ... | |
| Quick Libraries | 1/15/2008 |
| Q: I am currently working on a program that is requiring a maintenance library. I have the .lib file ... A: Chad, There could be a few problems. The most likely case us that this, 'maint,' library was not ... | |
| Data file | 12/6/2007 |
| Q: I am running a compiled Qbasic program on Windows 98 when it writes to my data file it is dropping ... A: freelin, this sounds like a strange problem. you'll have to show me some code so i can figure out ... | |
| language translation | 11/22/2007 |
| Q: the email address is fake. i can only be contacted by snail mail at 304 4th Ave W Apt 2 Grinnell IA ... A: Keith, I don't know of any c/c++ to *basic converters. Most things that are done in c/c++ simply ... | |
| Sequential Sort | 11/20/2007 |
| Q: am writing a program that will randomly generate 10 numbers between 1 and 10 and assigning them to ... A: Susan Luckily, I don't think this requires much effort, so although I can pretty much assume this ... | |
| mouse | 11/19/2007 |
| Q: it's me again. I tried the mouse program you wrote but couldn't get it to work, I think some stuff ... A: Daniel. I forgot to mention you need this at the start of the program: '$include: 'qb.bi' this ... | |
| qb 4.5 mouse program & libraries | 11/16/2007 |
| Q: i've been trying to make a mouse program work for qb 4.5 and i found a library, but i don't know how ... A: Daniel. Since I don't know which mouse library you are using, I can't help you with how to use it, ... | |
| connect algorithm | 11/13/2007 |
| Q: How are you? I'd like to ask for your opinion regarding a programming obstacle I have. I have a ... A: Eric, I don't fully understand your problem here, but I'm going to take a wild stab at it. First ... | |
| Qbasic Random numbers to string | 11/13/2007 |
| Q: I have created a bit of a difficult piece of programming for myself. What I would like to do is ... A: If you want DOS to access the internet, this is a good link to get you on the right track: ... | |
| Qbasic Random numbers to string | 11/13/2007 |
| Q: I have created a bit of a difficult piece of programming for myself. What I would like to do is ... A: J, First, I'd like to thank you for asking your question clearly, and reading some of my past ... | |
| for loops | 11/7/2007 |
| Q: hey, i have a quick question. if this was the program sintax: for counter = 1 to 12 step 3 ... A: Linds, Although I believe this question has "this is my homework" written all over it, i'll help ... | |
| QBX - Make EXE | 10/30/2007 |
| Q: I got a weird one! When I open QBX (no switches) an open my .bas file and run it using Shift+F5 I ... A: ) My only comment is that if it doesn't work when you open it normally (no debug switch), then it ... | |
| QBX - Make EXE | 10/30/2007 |
| Q: I got a weird one! When I open QBX (no switches) an open my .bas file and run it using Shift+F5 I ... A: Deltaoo, The reason you're getting an overflow is either: a) you are using arrays are have an ... | |
| Can a virtual serial port be created in DOS ? | 10/29/2007 |
| Q: I'm looking for a program that will create a virtual com port in DOS. I have seen many applications ... A: Al. A virtual port is quite easy. dim i as integer i = FreeFile Com(2) On On Com(2) gosub ... | |
| ISAM Database in VBDOS | 10/12/2007 |
| Q: Not sure if you can help me. I am using VBDOS to make a EPoS application and I have NO idea how to ... A: I'm pretty sure QB4.5 and up comes with a myisam or just isam library. Check out the "lib" ... | |
| ISAM Database in VBDOS | 10/9/2007 |
| Q: Not sure if you can help me. I am using VBDOS to make a EPoS application and I have NO idea how to ... A: Andy, Sorry for the delayed reply. For databases, you should find a library file in here: ... | |
| QB in Vista | 10/3/2007 |
| Q: I have some QB 4.5 applications, that run fine in XP, which use COM1 for serial communications. Do ... A: To the most of my knowledge, qb should theoretically run fine on vista. My suggestion would be to ... | |
| delete qbasic files | 9/8/2007 |
| Q: This may have to do with the fact that I am running qbasic on vista. I made a folder to store all ... A: Well, check to see when you save it what directory it is saving it under. that is most likely the ... | |
| read a .jpg file | 8/31/2007 |
| Q: how i read a .jpg fail with C++ tanx ANSWER: Hello Although this is the Basic section, luckily I ... A: This is begining to sound like a homework-type question. I'll point you in the right direction, but ... | |
| read a .jpg file | 8/30/2007 |
| Q: how i read a .jpg fail with C++ tanx A: Although this is the Basic section, luckily I know c++. The easiest way is to use a library. ... | |
| Reading an interrupt | 8/28/2007 |
| Q: I'm running QBASIC on a dedicated machine that runs only DOS. A TSR program reads and decodes data ... A: Neil well, there are a few things you'll need. I'll admit after looking for some answers, I still ... | |
| Ini Files with QuickBasic | 8/7/2007 |
| Q: I have 2 questions. Question1 How can I read in a ini file in to my program? I need to use a ini ... A: QBserial merely communicates with serial ports. You should be able to read status's without using a ... | |
| Ini Files with QuickBasic | 8/6/2007 |
| Q: I have 2 questions. Question1 How can I read in a ini file in to my program? I need to use a ini ... A: Hey there, Andy, I'll try my best to answer your questions. First, to read ini files, you'll have ... | |
| Enter key ascii code | 7/26/2007 |
| Q: I am having trouble finding what the ascii key code is for the enter key. I am trying to use the ... A: Alex. You're in luck; ASCII codes are quite easy in QBasic. There are two main functions you should ... | |
| How can I set a high-intensity color background in the text mode in QBasic, QuickBasic?: | 7/19/2007 |
| Q: How can I set a high-intensity color background in the text mode in QBasic, QuickBasic? I want: ... A: Sorry for the delay. I was sure I already answered this, but I guess I didn't. Oh well. Here we ... | |
| COM1 communication in QuickBasic4.5 | 7/15/2007 |
| Q: I am writing a very large program in QuickBasic (~2100 lines) and I am having problems with a ... A: again, I've done some more snooping around for information about qb com port routines. I found a ... | |
| COM1 communication in QuickBasic4.5 | 7/13/2007 |
| Q: I am writing a very large program in QuickBasic (~2100 lines) and I am having problems with a ... A: Hey, Andrew, Using serial ports and such is a little tricky in QBasic, but not impossible. I ... | |
| VBDOS / QBasic | 5/25/2007 |
| Q: I am using VBDOS (build on QBaisc) and I was Hoping you could help me a bit. I need some help on ... A: Andy, Well, to use different formatted date/times, you'll need to use date serial numbers. I ... | |
| VBDOS / QBasic | 5/24/2007 |
| Q: I am using VBDOS (build on QBaisc) and I was Hoping you could help me a bit. I need some help on ... A: Andy, Suprisingly, considering all of DOS's setbacks, parallel port programming is amazingly easy. ... | |
| How to convert | 5/22/2007 |
| Q: How to convert "vlookup excel" in Qb formula? here an example of data: Database1.txt (main data) ... A: ) I'm still trying to piece together what you are exactly trying to do. Assuming you are trying to ... | |
| Homework help with ARRAYS | 5/13/2007 |
| Q: I have to develop a program which will print out two columns of 6 numbers on screen in an array, ... A: Michael, Thanks for showing me the code you have. I only do homework help if I see your current ... | |
| Key Boards | 5/8/2007 |
| Q: Is it possible to set a keyboard to type in a specific type font for capital letters only? A: Fred The way you want to do keyboard input will be a little trickier, but still possible. One way ... | |
| qbasic arrays | 5/8/2007 |
| Q: i have to read two arrays and calculate numbers with data from those two arrays but i cant seem to ... A: Paul, I have no idea what the purpose of your program is, so it's tough for me to know what you're ... | |
| qbasic programming | 4/22/2007 |
| Q: i have a program to do. 1.)using the following "data-list" containing twenty numbers, incorporate ... A: Paul, Unfortunately, I'm not much of a guy to do your homework for, but I can help you out a bit. ... | |
| Bug with compilation of a QB 4.5 program | 4/16/2007 |
| Q: Sir, I have a large experience of using Qb 4.5 for several years without problem, with Dos to XP. I ... A: there. The problem is the flavor of windows you are using. Windows XP is DOS aware, but has the ... | |
| Regular Text Mode For Color Border? | 4/2/2007 |
| Q: In GWBASIC, whenever I type in: COLOR 12,4,2 I get High Intensity Red text color over Low Intensity ... A: Graphics mode handles text very well. I suggest mode 10 or 12 for text...it's a higher resolution, ... | |
| BLOAD | 3/31/2007 |
| Q: I have been using a qbasic made sprite editor to make some graphics, and it said that I can load the ... A: If you're using windows XP or vista, you will encounter many errors like that. The best solution I ... | |
| "COLOR" for GWBASIC vs. QBASIC?: | 3/28/2007 |
| Q: In GWBASIC, whenever I type in: COLOR 12,4,2 I get High Intensity Red text color over Low Intensity ... A: To get QBasic to do the frame, to the extent of my knowledge, you need to do a CLS There is how I ... | |
| BLOAD | 3/28/2007 |
| Q: I have been using a qbasic made sprite editor to make some graphics, and it said that I can load the ... A: there. Well, bloading an image is pretty easy, but you need to know a few things about how QB ... | |
| Sound Problem | 3/28/2007 |
| Q: Ok, I have tried every single sound command on Earth, and none of them will produce any sounds! I ... A: Hey, there First, before you think about installing, you should look in your computer. Taking off ... | |
| Sound Problem | 3/26/2007 |
| Q: Ok, I have tried every single sound command on Earth, and none of them will produce any sounds! I ... A: The problem is probably that you don't have a mother-board speaker, which is what qbasic's PLAY and ... | |
| Test loop prematurely exiting | 3/26/2007 |
| Q: Many thanks for your answer. I have tried your suggestions but still get the same fault occuring. ... A: Well, right now, I don't have my rusty-trusty QB with me, so I can't test anything, but my ... | |
| module | 3/26/2007 |
| Q: how can i define a module in VB and what is the difference between module and class A: I think you asked the right question in the wrong section of experts, but that's okay, because I ... | |
| Program prematurely exits DO_Until loop | 3/19/2007 |
| Q: I have a piece of code using a DO_UNTIL loop that exits (more often than not) without satisfying ... A: Well, after reviewing your code, I think the problem is BEDMAS, the best friend of a programmer ... | |
| color printing from QBASIC | 3/8/2007 |
| Q: I am using XP and QBASIC 4.5. I am perfectly able to print txt to the screen in color using COLOR ... A: Well, I'm not sure if QBasic can print in colour. It may be dependant on your printer manufacturer ... | |
| qbasic | 2/21/2007 |
| Q: Sir, I really need some serious help on this one. the program is supposed to refer to a text file ... A: there From what i read, this is just using some logic (oh, and I appreciate you putting your code ... | |
| qbasic | 2/21/2007 |
| Q: 1. what is the function of FOR NEXT LOOP ? 2. what is the purpose of NEXT statement ? 3. when the ... A: If you have looked up my past answers, you'd realize I don't do homework questions, especially when ... | |
| finding area of shape w/ Qbasic | 2/19/2007 |
| Q: I really nead help w/ finding the area of a rectangle, triangle, and circle. Need to use input. All ... A: Although this sounds like a homework question, I'll help you out a bit, and give you some good ... | |
| quickbasic commands | 1/8/2007 |
| Q: I was just looking for quickbasic commands.Can you give me some quickbasic commands with their ... A: That's a very general question that I just can't answer, but I can give you a few places to start. ... | |
| Installing QB 7.1 | 12/19/2006 |
| Q: At my school we are trying to install qb 7.1 but nothing we have tried is working for us. Is there ... A: I thought I answer this question a while ago, so I apologize for the delay - must have forgotten to ... | |
| Help with qbasic | 12/15/2006 |
| Q: i know this is a really amature queastion.. but how do you save a file to the c: drive. A: Well, if you want to save just any old file, you can use OPEN and CLOSE There are a few modes for ... | |
| QBasic programming | 12/6/2006 |
| Q: How do I move to specific records on my random access file, like first record or last record? A: In random access, you can use the seek and/or get statement, which makes going to specific records ... | |
| Programs in Quickbasic 45 | 11/17/2006 |
| Q: I have a number of scientific programs written by myself in QB 45 under Window 2000. Said programs ... A: The problem is that windows XP does not natively support DOS like windows 2000 (or lesser versions) ... | |
| qbasic | 11/12/2006 |
| Q: What keyword do I use (and how do I use it)if I want to put two options for a variable. For example, ... A: Dim Gender(1 To 2) As String Dim g As Integer Gender(1) = "Male" Gender(2) = "Female" Print "1. ... | |
| Converting Integer To String | 11/4/2006 |
| Q: Is it possible for Qbasic to automatically convert integer values to string? If so how is this done. ... A: well, if you just want to value in a string, you use str$() DIM foo AS INTEGER DIM bar AS STRING ... | |
| QuickBasic programmes | 11/2/2006 |
| Q: I am a structural engineer and many years ago I purchased a suite of programmes written by another ... A: well, if there is a setup file, it would either be a .bat or a .exe file i don't know exactly what ... | |
| Convert Dos files to Windows | 10/13/2006 |
| Q: How can I convert Dos files to Windows? A: That is a very good question. The only problem with that is that all files in windows/dos can be ... | |
| getting wrong results | 10/12/2006 |
| Q: Here is what I'm trying to do. When I run the program I get a series of 55 numbers. Each number is ... A: Oh, I see what you mean. The inputted number is supposed to be searched for. So if I inputted "7", ... | |
| getting wrong results | 10/12/2006 |
| Q: I'm running the program listed below but i do not get the correct results. please review the code. ... A: Well, since I have no idea what result you're looking for, I can't really help there, but I am going ... | |
| using basic on a pda | 10/10/2006 |
| Q: I have been trying to find a version of basic that wil run on my windows mobile 5 pda. but cant find ... A: Unfortunately, I don't have a pda or anything like that, so I've never really looked for a *basic ... | |
| Convert quickbasic data files to flat files | 10/6/2006 |
| Q: Bonjour, I trie convert a QB data file to flat file. In my files I retreve a number, date and ... A: There is no "easy" method in a sense. Basically, you'll just have to figure out how the flatfile ... | |
| need more than one selection | 9/28/2006 |
| Q: I would like to get more than one selection. Here is code: cls dim item$(1 to 3) input "item 1: ", ... A: Well, first, lets reorganize that code (it's not very well organized at all) CLS RANDOMIZE TIMER ... | |
| computerised filing system using qbasic | 9/27/2006 |
| Q: Sir, I need to be able to keep track of members in my association and want to develop a qbasic ... A: Hmmm... Well, I don't understand what you mean by members in your association. Saving to a file is ... | |
| complete program(not homework) | 9/25/2006 |
| Q: Could you please finish this short program for me so that I do not have to re-enter the three ... A: I don't understand what you want, but it woulds like you want something like a loop Here is my ... | |
| programming | 9/18/2006 |
| Q: how do i write abasic programme to compute the sum of the elements along the pricipal diagonal ofa ... A: ALrighty - this is very simple, so i'm going to go through it so you can understand all the steps, ... | |
| qbasic send to excel | 8/25/2006 |
| Q: yes i have a qbasic program which we use to do our engineering, instead of printing just test like ... A: First off, does the program already send the test logs to a file? If it does, then it's a matter of ... | |
| Quickbasic 4.5 program doesn't work with USB port... | 8/24/2006 |
| Q: Is there anyway for an Okidata Microline 590 dot matrix printer to recognize Quickbasic 4.5 "LPrint" ... A: Well, in the days of Qbasic, in any form, usb was just a dream, if it was even anything at all, so ... | |
| quickbasic 4.5 | 8/19/2006 |
| Q: windows xp trying to compile .exe file from .bas file error message packed file is corrupt even ... A: Well, there could be many problems, and it's tough to narrow it down without more information what ... | |
| Interactive QBASIC program | 8/14/2006 |
| Q: Sir, what is the QBASIC program that will compute the area of a triangle? area=1/2(bh) A: Holy sounds-like homework question, but I'm in a good mood, so i'll just give the answer straight ... | |
| program a game using qbasic | 8/8/2006 |
| Q: how do i program a game using qbasic A: That is an extremely broad question, so i'll try and help you narrow it down a bit. First, what ... | |
| qbasic 4.5 | 7/16/2006 |
| Q: about that login program i asked about a couple days ago, How do i stop the Ctrl-C from ending the ... A: (Sorry if I answered this on another one of your threads) You should look up the built-in command ... | |
| qbasic 4.5 | 7/14/2006 |
| Q: I'm writing a sort of login program, almost done, it has a log of bad logins that is printed to ... A: I ran this code, and you'll need to fix this subroutine (fix is this source): SUB load.users ... | |
| Help with program | 5/18/2006 |
| Q: Goodday, Can you please help write a qbasic program to compute the following; mean, mode and median. ... A: Please realize that I try and keep respect for anyone that asks a question here, so if you don't ... | |
| Search array | 5/10/2006 |
| Q: I know you don't do homework, but I hope you can assist me in school program I'm working on. I'm ... A: The problem was that you are using an array of data, but only giving the variable ( f.name$ and ... | |
| Run & Chain Commands | 5/9/2006 |
| Q: Is it possible to run a batch file [.bat] from a compiled Quickbasic program running on Windows 2000 ... A: CHAIN "./batchfile.BAT" should work to the most of my knowledge. As far as RUN goes, it is more for ... | |
| Qbasic | 3/27/2006 |
| Q: Well hello and i have done my homework and i just now need somebody to help me construct a ... A: Well, I won't do the pseudo code for you, but I will gladly point you in the right direction ... | |
| Concatenate Graphic Files | 2/16/2006 |
| Q: I would want please like to do the following: I have picture images in fragments of a particular ... A: Well, loading images in *basic isn't always easy at all...I'd suggested googling "QBasic image ... | |
| Q Basic | 2/15/2006 |
| Q: How can I loop any command in Qbasic AND How can I put the delay of certain time everytime I put a ... A: You can do loops a few different ways, but I'll only cover 2 of them: DO LOOP ([UNTIL|WHILE] ... | |
| Find ALL drives with Quick Basic 4.5 | 11/16/2005 |
| Q: I need to search for all available drives that are ready (HDs, CDs in drive, USBs plugged in, etc.). ... A: Unfortunately, how DOS works, it is almost impossible to do this with Q[uick]Basic. There may be ... | |
| Passing user defined types to procedures | 11/4/2005 |
| Q: Is it possible to pass user defined types to procedures? If yes then please explain how. I am using ... A: It is quite possible, and there are no complex things you need to do :) [code] TYPE example a AS ... | |
| FILE HANDLING | 11/2/2005 |
| Q: I USING QUICK BASIC EXTENDED. I CAN ONLY WRITE 16 RECORDS TO EACH OF MAY FILES. HOW CAN I GET MORE ... A: quick basic extended? i've never heard of that, but I think i can help you non-the-less, but it ... | |
| A programming problem | 10/10/2005 |
| Q: r Barry I think you still remember me.I'm a freshman and I study computer at ... A: You may want to look into logarithms... i'm not sure exactly how you'd do it all, but keep this in ... | |
| FreeBasic Program | 10/1/2005 |
| Q: Need help sending the trim$(lower$ contents of a text file to an argument of a command... Below is ... A: well, here's one problem in your code: <code> line input #f, a$ print a$ a1$ = lcase$(a$) ' ... | |
| clear dim | 8/18/2005 |
| Q: But actually the problem I had is not a need to resize my array, I just need to run the samee ... A: I think, then, you are looking for the erase command ERASE arrayname the help-file is online: ... | |
| clear dim | 8/18/2005 |
| Q: I have been working on a Qbasic program that does several different things. At the beginning I ask ... A: If you want to resize an array, it always has to be redim-ed 5 CLEAR 10 REDIM MYDATA(entries) ... | |
| window size | 8/4/2005 |
| Q: I am using QBasic 4.5. When I start the program it won't open in the little black DOS window but ... A: Well, if you right-click on QB.EXE and go to the SCREEN tab, you'll see the options for (radio ... | |
| delete | 8/3/2005 |
| Q: I have another quick question regarding QBasic. Is there a command in QBasic that will delete any ... A: There sure is. KILL "filename.ext" if you want to navigate around the computer, there are a few ... | |
| run program | 8/3/2005 |
| Q: How are you? I would like my QBasic prgram to execute (start running) another QBasic program ... A: there is the RUN, SHELL, or CHAIN RUN will jump to another BAS file, and I think it will do ... | |
| Full address of a user's Desktop | 6/26/2005 |
| Q: I want to know how I can have the FULL adress of a user's "Desktop"; for example , for a user named ... A: Assuming you are one of teh few that actually ask qbasic questoin in teh qbasic section, this is how ... | |
| Strange Program | 6/3/2005 |
| Q: A how does it work B can it be modified for network usage ?Hello I have found a quite strange proram ... A: Well, check out the site I gave you: http://www.ctyme.com/intr/int.htm That should help you figure ... | |
| Hi, I'm 13 and I am using... | 3/31/2005 |
| Q: I'm 13 and I am using Microsoft QuickBasic. I've been trying to make an arkanoid game but I have not ... A: You can establish this fairly simply, with this code (you may have to adapt it a little) <code> '' ... | |
| installing problem | 1/26/2005 |
| Q: I am trying to install vb 6.0 pro but i alwasy get a messege in DOS that says this ... A: What OS are you using? I'd assume NT, 2000, XP, or higher. Most those windows versions are trying ... | |
| Retreiving Port Number of an application | 1/22/2005 |
| Q: I came to know that the processor gives a unique process ID and port number(to communicate through ... A: Well, this question is more VBasic than QBasic... As far as ports go, each has an address, if ... | |
| Convert DOS to Windows | 1/10/2005 |
| Q: I have written many DOS QBX sports programs, available free online. Is there a simple way to convert ... A: How abouts do you want it to be converted? You can compile it, through DOS, but it will still be ... | |
Top Expert on this page
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.
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.