What is your worst program?

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
angros47
Veteran
Posts: 72
Joined: Mon Sep 08, 2008 12:52 pm
Contact:

What is your worst program?

Post by angros47 » Mon Mar 15, 2010 7:53 am

Looking now at my first experiments with QB (that I've written years ago), I see many errors, bad practices and spaghetti code. I'm sure that I'm not the only one: many of us have realized horrible, bad coded programs that actually work well, and only later we've understood how to code properly.

So, my question is: what is the worst program you've ever written? (I mean, working program, not stub). What would you change, if you should rewrite it now?

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Mon Mar 15, 2010 9:57 am

trying to reply but it wont keep me logged in. ???

User avatar
burger2227
Veteran
Posts: 2345
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Mon Mar 15, 2010 12:59 pm

What do you mean about staying logged in Coma?

It HAS been really slow here lately!

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Tue Mar 16, 2010 4:58 am

I tried to reply to the OP and each time I told me I needed to log in again. It was immediate. Usually this site automatically logs me out after 10 minutes or so, but this was < 1 minute.

angros47
Veteran
Posts: 72
Joined: Mon Sep 08, 2008 12:52 pm
Contact:

Post by angros47 » Tue Mar 16, 2010 7:24 am

That's what I do: I write a message, select all, copy it, and try to send: if I need to log in again, I do, then I paste the selected text and send it.

User avatar
burger2227
Veteran
Posts: 2345
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Tue Mar 16, 2010 1:51 pm

Well I always stay logged in. Every once in a while I have to log in though.

Thanks for the feedback!

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

OPRESION
Veteran
Posts: 61
Joined: Tue Jan 16, 2007 4:15 am
Location: Mexico

FB FOR WINDOWS

Post by OPRESION » Thu Mar 18, 2010 11:49 pm

I HAVE MADE MANY MISTAKES LIKE ANYBODY ELSE BUT MY WORST PROGRAM
WAS MADE BY THE FREEBASIC FOR THE WINDOWS.

THE FIRST TIME THAT I DID TRY TO RUN AND COMPILE A QBASIC PROGRAM
OF MINE IN THE FREEBASIC FOR WINDOWS THE RESULTS WERE LIKE THE HIROSHIMA
BOMB BECAUSE THE FB FOR WINDOWS TREATS THE DOS LIKE SHIT.

MY PROGRAMS NEVER ARE BIG BUT I HAVE TO USE THE FB FOR DOS INSTEAD
OF THE FB FOR WINDOWS. FB FOR WINDOWS TREATS THE QBASIC FOR DOS
LIKE MICROSOFT TREATS THE DOS FOR 16 BITS, LIKE GARBAGE,
THAT IT MEANS, TRYING TO DISSAPEAR IT.
MY PAGE: http://Qbasic.phatcode.net" target="_blank
(I ONLY USE WINDOWS 98SE YET, BELIEVE IT OR NOT)

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Mon Mar 22, 2010 2:39 pm

OPRESION, you should try qb64. All of my old QB games run in WinXP except for one that uses CHAIN command because that is not supported. It's great to be able to write programs in BASIC again that run on modern computers.

User avatar
burger2227
Veteran
Posts: 2345
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Mon Mar 22, 2010 6:40 pm

WADDAYA MEAN? The CHAIN command and COMMON are supported in QB64!

The only present problem is that it does not work across directory paths. Hopefully that will be fixed soon.

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Mon Mar 22, 2010 8:30 pm

oops! my bad! maybe i'll try and compile my old game from a gagillion years ago, you know, for old times sake? :wink:

OPRESION
Veteran
Posts: 61
Joined: Tue Jan 16, 2007 4:15 am
Location: Mexico

Post by OPRESION » Thu Mar 25, 2010 3:07 am

coma8coma1 wrote:... you should try qb64 ...
THANK YOU FOR YOUR SUGGESTION.
MY PAGE: http://Qbasic.phatcode.net" target="_blank
(I ONLY USE WINDOWS 98SE YET, BELIEVE IT OR NOT)

User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post by Seb McClouth » Tue Mar 30, 2010 1:43 pm

erm... worst program ever... my ASCII attempt of win3.x... with no mouse... lol old school... basic old school...
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.

User avatar
floogle11
Veteran
Posts: 71
Joined: Sat May 02, 2009 7:08 pm
Location: Zorgon planet
Contact:

first

Post by floogle11 » Wed Jun 02, 2010 10:08 am

First hour i used Qbasic i put imput always instead of input and it really frustrated me because none of my programs would work.
Go to my Qbsite its: Trueqb.webs.com
Or if you play nazi zombies go to www.Nazizombys.com and register for cheats, hints, and strategys.

Post Reply