qbasic

Does anyone still program in QBasic / QuickBasic?

The title pretty much sums it up. Is anyone out there still writing in QBasic / QuickBasic? I have fond memories of learning to program on this platform, but its been such a long time... ...

reading binary datafile and writing into decimal no file

exp data is generated by my mc scaler card as a binary file with first 511 bytes as header and then 24 bit data followed by four bit roi data. i am not a expert in programming. i do understand a little. I would like to convert this file into a file (without header) decimal nos with first col as channel no (1 to 8191) then the data (24 bi...

Open Files Created with BSAVE in QuickBasic?

I have some files that were created using BSAVE in QuickBasic. I'm wondering how I can load/view these files? ...

Good books for QBasic beginner?

I need to find some books dealing with QBasic. Any recommendations? ...

What are the advantages of using Virtual Machine compilation (eg. JVM) over natively compiled languages?

I've heard that the advantage of java is that people can write code, compile it for the JVM, and run it anywhere. Each person just needs a JVM app for their platform. Of course, it looks similar to the current situation, where everybody has a compiler specific for their platform. So the advantage isn't explained by that. But I think I...

How to Read RS232 Serial Port in PHP like this QBasic Program

I'm trying to port the following small QBASIC program (which works 100%) to PHP: OPEN "com1:2400,n,8,1,DS," FOR RANDOM AS #3 OPEN "data.dat" FOR OUTPUT AS #2 REM read 17 chars from the port scale$ = INPUT$(17, #3) PRINT scale$ WRITE #2, scale$ CLOSE #2 CLOSE #3 SYSTEM Currently I'm calling it in its compiled (exe) form from PHP (on WA...

Here's an old school IF statement for you, but there is a problem.

I have an IF statement in QBASIC... yes... QBASIC... I have been teaching someone to program (I decided this would be nice and easy to see how the syntax works). ...Anyway, I have this code: CLS start: INPUT ">>", a$ PRINT a$ IF (INSTR(a$, "do you")) THEN IF (INSTR(a$, "like")) THEN IF (INSTR(a$, "cheese")) THEN PRINT "Y...

Two questions for old programmers

So I've been using QBASIC64 today... for old school's sake. I was wondering: a) What is the most complex QBASIC code you have ever written was and b) What is the most useful code you have written (examples would be nice but not imperative ^_^ - and this is Community Wiki and just for fun) ...

Looking for the Nibbles game rewritten in C#

I am writing a console app that would be kicking off long running processes. So rather than let the user stare at the screen for several minutes, I'd love to throw my processing on a background thread and let the user play a game meanwhile. If you are my age, you definitely remember the Nibbles game written in QBasic that shipped wit...