Hello

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
User avatar
Flightfanatic
Newbie
Posts:7
Joined:Fri Oct 19, 2007 10:52 pm
Contact:
Hello

Post by Flightfanatic » Fri Oct 19, 2007 10:57 pm

Hi everyone, i am new to these forums, as you can see it is my first post! :wink: I am making a text based game in qbasic and am having problems compiling it to a .exe, I am using QBasic 7.1 from microsoft, is there any newer qbasic compiliers out there? thanks!

-Dillon

Buff
Jr. Member
Posts:22
Joined:Wed May 19, 2004 3:07 pm
Contact:

Post by Buff » Sat Oct 20, 2007 3:31 pm

7.1 or PDS is the last one I believe. Remeber it's MSDOS. MS hasn't written any MSDOS stuff, except for a few tweaks of their MSDOS versions to go along with early windows versions, in some time

There are some tips.
Keep line lengths as short as possible (under 100 characters if possible)
if your program is large, consider creating some programs to just contain some of the subs and functions then use the load option to load them in.

That way the compiler will compile each bas file individually and link them together making it possible to have programs 100-200K in size

User avatar
Flightfanatic
Newbie
Posts:7
Joined:Fri Oct 19, 2007 10:52 pm
Contact:

Post by Flightfanatic » Sat Oct 20, 2007 9:31 pm

what is the command to load a file in QB?

Valerie
Sr. Member
Posts:54
Joined:Wed Dec 15, 2004 8:10 am
Location:Coromandel, NZ

Post by Valerie » Fri Oct 26, 2007 12:16 pm

Obviously Buff hasn't been around to respond to you. Perhaps you'd like to have a look at overlays here.

I'm not sure that's what you are looking for but it's a good way of handling programs which might be too big.

Good luck

V.

Mac
Full Member
Posts:48
Joined:Wed Jun 29, 2005 2:01 am
Contact:

Post by Mac » Fri Oct 26, 2007 4:00 pm

Good reply Valerie.

Perhaps it would also help if someone could evaluate the program for ways to code it smaller. At http://www.network54.com/Index/10167 there is a "Big Programs" subforum where people post big programs and then ask for help at the main forum. Often programs are unnecessarily big.

Mac
Last edited by Mac on Sat Oct 27, 2007 10:06 am, edited 1 time in total.

Valerie
Sr. Member
Posts:54
Joined:Wed Dec 15, 2004 8:10 am
Location:Coromandel, NZ

Post by Valerie » Sat Oct 27, 2007 3:50 am

Thanks Mac. Good to see you getting in a plug for network54...

V...

Mac
Full Member
Posts:48
Joined:Wed Jun 29, 2005 2:01 am
Contact:

Post by Mac » Sat Oct 27, 2007 10:12 am

Valerie wrote:Good to see you getting in a plug for network54...
Do you ever post there? Don't remember you posting under the handle "Valerie".

Anyway, this is a sample of programs too big being reduced in size:
http://www.network54.com/Forum/190883/m ... 1/Monopoly

Mac

Valerie
Sr. Member
Posts:54
Joined:Wed Dec 15, 2004 8:10 am
Location:Coromandel, NZ

Post by Valerie » Sun Oct 28, 2007 10:30 am

Mac wrote: Do you ever post there? Don't remember you posting under the handle "Valerie".
Yeah, ok, I'm very forgettable. I'm the one who won't post on 54 because the IP is shown to all and sundry. Just a female foible.:oops: See here.

Cheers

V...

Mac
Full Member
Posts:48
Joined:Wed Jun 29, 2005 2:01 am
Contact:

Post by Mac » Sun Oct 28, 2007 11:22 pm

Valerie wrote:
Mac wrote:I'm the one who won't post on 54 because the IP is shown to all and sundry
Heh - Not convinced by my argument there, eh? There are many people who have enemies that stalk them from forum to forum and would give anything for the actual name or address or phone number of their enemy.

The IP address does not help them in the least. It is almost no identity at all.

On the other hand, a handle like "Valerie" might attract unsavory comments on the internet. I would change my handle to "Pluto" or "Osmium" or some other such handle that does not attract nuts.

So even if you had such an ID, I guess you would have to tell me about it via PM. (I am known for never blabbing any info about anyone.) But a better reply would be "Yes, I post on The QBasic Forum but all I'll tell you is that my handle there is not mennonite".

LOL

Mac


Mac

User avatar
Flightfanatic
Newbie
Posts:7
Joined:Fri Oct 19, 2007 10:52 pm
Contact:

Post by Flightfanatic » Thu Nov 08, 2007 4:11 pm

ok thanks for all the help!

Valerie
Sr. Member
Posts:54
Joined:Wed Dec 15, 2004 8:10 am
Location:Coromandel, NZ

Post by Valerie » Thu Nov 08, 2007 11:07 pm

You're welcome.

Post Reply