Quote:
> > I am rewriting a old BASICA program for a friend in QBASIC (I don't
> > have the time or energy to rewrite it in a better language.)
> Huh, why bother then. What kind of post is this? Your in the basic echo,
> and your bold enough to say you think BASIC sucks? Why don't you post
> a message consisting of "Feminism sucks!" in alt.feminists? If you
> want help, ask. If you want to disgrace BASIC, use alt.i.am.an.idiot.
Save your sarcasm. If you disagree, use some structured reasoning to
explain yourself rather than attacking someone. And besides -- as my old
Biology teacher used to say, "Sucking a good thing, you see -- babies
always suck on things and that's how they we all used to eat when we were
little -- if it weren't for sucking, we'd all be hungry to death."
Quote:
> > When I step through it, the machine will hang every time it encounters
> > the line: BLOAD "timer.m",vaptr%
> > Timer.m is an assembly based set of instructions from what I am told,
> > and I know that it works fine with the exact same code in BASICA. Any
> > idea why it does not work in QBASIC?
> Because (GW)BASIC(A) only used 1 segment, QBasic uses multiple segments.
> You need to use the DEF SEG and VARSEG() routines to set the appropriate
> memory segment before BLOADING the routine. also note that strings from
> the 2 are not 100% compatable, (GW)BASIC(A) used a 1 byte descriptor
> length and QBASIC uses a 2byte descriptor length.
QBASIC/QuickBASIC use 4 byte descriptor length. I think GWBASIC/BASICA use
2 byte descriptor length.
-Mark