Search found 22 matches

by Buff
Sun Jan 11, 2009 1:53 pm
Forum: QBasic / QuickBasic related
Topic: Program-memory overflow
Replies: 1
Views: 3377

You can try using the $DYNAMIC metastatement which may help.
If it is one program, the best bet is to put some of the functions and subs in separate bas files then use the load option and load these other bas files. The system will then make a mak file with the names of the bas files.
When compiling ...
by Buff
Sat Mar 29, 2008 8:47 pm
Forum: QBasic / QuickBasic related
Topic: Windows and older dos quickbasic code
Replies: 3
Views: 3151

You might have a look at powerbasic console compiler.
QB/PBdos like syntax with graphics and full 32bit windows compiler. full access to windows api as well as com programming for the internet.
Their support on the forum is outstanding too.
by Buff
Thu Feb 14, 2008 1:51 am
Forum: QBasic / QuickBasic related
Topic: Finding GXSTB graphic library
Replies: 4
Views: 2864

Try this. Scroll down to see the old ABC archive packets. There might be something there. (ABC=AllBasicCode)

http://www.uolang.org/sourcecode/abc/abcpacks.html

Even if not there, there is some great code there.
by Buff
Tue Nov 20, 2007 8:06 am
Forum: QBasic / QuickBasic related
Topic: qb 4.5 mouse program
Replies: 18
Views: 11001

I should have included this in my comment above.

When I refer to 'LOAD' a program, it is different then 'Opening' a program.
You can have several bas (or other extensions) 'loaded' at the same time.

This enables you to make larger programs than are normally able to be made. This is because the ...
by Buff
Mon Nov 19, 2007 3:29 am
Forum: QBasic / QuickBasic related
Topic: qb 4.5 mouse program
Replies: 18
Views: 11001

Just a comment. The QB45 ide and the DOS Edit are based on the same
program structure (at least originally).

If you use it quite a bit you will get to like it, especially with the ability to
'LOAD' programs and direct access to the help including ascii values that
is handy.
by Buff
Sun Nov 18, 2007 6:35 am
Forum: QBasic / QuickBasic related
Topic: qb 4.5 mouse program
Replies: 18
Views: 11001

With QBasic Call absolute is included.

With QuickBasic 4.x,7.x you must load a library containing call absolute
and/or call interrupt/interruptx

The easiest way is to start QB with /L option. This Loads Qb.QLB when
QB is started. It gives you the ability to use Call absolute or interrupts.

There ...
by Buff
Fri Nov 16, 2007 1:46 am
Forum: QBasic / QuickBasic related
Topic: DO ... LOOP question
Replies: 13
Views: 4901

if you only want it to respond to your keyboard input then change
if inkey$=...
to
if a$=...
above those statements use
while a$="":a$=inkey$:wend

at the bottom of the do loop use
a$=""

DO
WHILE A$="":A$=INKEY$:A$=UCASE$(A$):WEND
IF A$="W" then...

IF A$="W" or A$="A" ..... then pset(x,y),6 ...
by Buff
Sat Oct 20, 2007 3:31 pm
Forum: QBasic / QuickBasic related
Topic: Hello
Replies: 10
Views: 4836

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 ...
by Buff
Mon Jan 24, 2005 4:03 am
Forum: QBasic / QuickBasic related
Topic: QB4.5 Compiler and EXE file size
Replies: 3
Views: 1964

What davenstein is talking about (I think), is using several bas files at once.

If you are only using gosubs (and maybe FN's) then consider using SUBs
and FUNCTIONs instead with most of them in other bas files. Here is how
it works. (simplistic example)

(main program)

MAIN.LOGIC:
GOSUB OPEN ...
by Buff
Sun Jan 23, 2005 2:23 am
Forum: QBasic / QuickBasic related
Topic: help me with exe please!
Replies: 1
Views: 1141

If it's a QB program, send it to me and I'll see what the problem is.

buff_oasys@yahoo.com
by Buff
Sat Jan 08, 2005 2:02 am
Forum: QBasic / QuickBasic related
Topic: Path file/access error
Replies: 4
Views: 3191

Try using Save As and designate the actual path and program name before saving it.
by Buff
Thu Dec 09, 2004 2:41 am
Forum: QBasic / QuickBasic related
Topic: wav files
Replies: 2
Views: 1477

Works fine for me.
After getting to the site, click the files option at the top.
Look for instald7.zip
it downloaded fine for me.

Buff

http://thunder.prohosting.com/oasys/frameex1.htm
by Buff
Thu Dec 09, 2004 2:38 am
Forum: QBasic / QuickBasic related
Topic: Compiling
Replies: 1
Views: 1139

Compile under the Run oprtion then Compile.
by Buff
Sat Dec 04, 2004 2:53 am
Forum: QBasic / QuickBasic related
Topic: wav files
Replies: 2
Views: 1477

The trouble QB has with playing wav files is memory usually.

Small wav files can be played ok. For example chord.wav

see my installation program. it has an example. (installd6)

http://thunder.prohosting.com/oasys/frameex1.htm

It's on other sites too.
by Buff
Sat Nov 20, 2004 12:51 am
Forum: QBasic / QuickBasic related
Topic: If error
Replies: 5
Views: 1841

If you run it in the ide then if it truly is an if block error it should show you
where it's having a problem.

Indent all your block IF's, FOR's,WHILE/DO, etc. so you can see where
the routine ends and where you are missing something.

It could possibly have to do with a line that is too long in ...