Page 1 of 1

strange error

Posted: Tue Aug 09, 2005 3:21 am
by SebMcClouth
After a tiny mistake: replacing sub sumfin as function sumfin, I got the message: duplicate label. Then I renamed function sumfin back to sub sumfin. Everything fine and all... NOT! I can run the program without any problem the first time. When I want to start again it states: duplicate label on every line!!!

How can I solve this?

grtz
Seb

Posted: Tue Aug 09, 2005 3:40 am
by SebMcClouth
After running it for 3 or 4 times, qb crashes, and dos states that EMM386 found an error... great...

grtz
Seb

Posted: Tue Aug 09, 2005 3:47 am
by Z!re
You're using too much conventional memory, and/or string space.

QB fork up being QB and all..

Posted: Tue Aug 09, 2005 3:49 am
by SebMcClouth
should I then try to LH QB/L????

grtz
Seb

Posted: Tue Aug 09, 2005 7:10 am
by Wyndo
Is your program already really large, or are you making some assembly calls? If no to both, it might not be that. Try saving your program as "plain text", then open it in notepad and make sure that when you change your SUB to a FUNCTION that QB didn't accidentally make a duplicate in the source, leaving the original there. I don't know that it *would*, but if it's saying duplicate label, that's what I'd check first.

Posted: Tue Aug 09, 2005 8:38 am
by Seb McClouth
I'll just write it back from scratch. It's probaly that my memspace is completly full. Z!re told me so.

grtz
Seb

Posted: Tue Aug 09, 2005 8:47 am
by {Nathan}
Try loading QB using the /ah switch... and other than that, use chains, overlays... and FB for dos, lol. Works on dos 6.22 over here.

Posted: Tue Aug 09, 2005 8:49 am
by Seb McClouth
I got Dos 3.1, 4.10, 5.0, 6.2 (which I currently use), 6.22.

grtz
Seb

Posted: Tue Aug 09, 2005 8:50 am
by {Nathan}
Mabye should program in FB. I am sure it would be easyer, then you could also make a port to go to windows and stuff for the f*cking m$ fanboys...

Posted: Tue Aug 09, 2005 8:58 am
by Seb McClouth
Might replace QB 4.5 with 7.1. For some reason, which only Z!re knows.

grtz
Seb

Posted: Thu Aug 11, 2005 10:01 am
by DrV
Nathan1993 wrote:Mabye should program in FB. I am sure it would be easyer, then you could also make a port to go to windows and stuff for the f*cking m$ fanboys...
And yet using MS-DOS is somehow not being a Microsoft fanboy? :D

Posted: Thu Aug 11, 2005 10:58 am
by SebMcClouth
Scuse me?