Page 1 of 1
Hello
Posted: Fri Oct 19, 2007 10:57 pm
by Flightfanatic
Hi everyone, i am new to these forums, as you can see it is my first post!
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
Posted: Sat Oct 20, 2007 3:31 pm
by Buff
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
Posted: Sat Oct 20, 2007 9:31 pm
by Flightfanatic
what is the command to load a file in QB?
Posted: Fri Oct 26, 2007 12:16 pm
by Valerie
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.
Posted: Fri Oct 26, 2007 4:00 pm
by Mac
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
Posted: Sat Oct 27, 2007 3:50 am
by Valerie
Thanks Mac. Good to see you getting in a plug for network54...
V...
Posted: Sat Oct 27, 2007 10:12 am
by Mac
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
Posted: Sun Oct 28, 2007 10:30 am
by Valerie
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.
See here.
Cheers
V...
Posted: Sun Oct 28, 2007 11:22 pm
by Mac
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
Posted: Thu Nov 08, 2007 4:11 pm
by Flightfanatic
ok thanks for all the help!
Posted: Thu Nov 08, 2007 11:07 pm
by Valerie
You're welcome.