Search found 6 matches

by surturz
Fri Apr 27, 2007 8:26 am
Forum: QBasic / QuickBasic related
Topic: QB4.5 vs Windows Vista
Replies: 4
Views: 6157

Thanks for those hints, I might try it out. I'm pretty sure the problem is when you have a widescreen monitor.

I've since moved to using DOSBOX (from sourceforge). Needs a bit of fiddling to get it to work. Main problem is no printing. Also Ctrl-Break doesn't work (although Ctrl-ScrLk seems to ...
by surturz
Wed Feb 28, 2007 3:44 am
Forum: QBasic / QuickBasic related
Topic: QB4.5 vs Windows Vista
Replies: 4
Views: 6157

I've done a bit more experimenting... SHELL does work generally, but SHELLing to "DIR" or "COPY" does not work. If you can upgrade to QBX you can use the DIR$() function instead of shelling to DIR, and I wrote the following routines to replace shelling to COPY.



SUB CopyFiles (filespec$, destdir ...
by surturz
Mon Feb 19, 2007 1:57 pm
Forum: QBasic / QuickBasic related
Topic: no sound
Replies: 5
Views: 2850

PLAY command works under XP... and through the speakers, I think.
by surturz
Mon Feb 19, 2007 1:38 pm
Forum: QBasic / QuickBasic related
Topic: Can someone help me make this into...
Replies: 1
Views: 1777

use COLOR 0 to erase what you have already drawn and then re-draw the new position.

e.g. adding the following will erase one of the boxer's gloves once you press a key ...

Code: Select all

DO: LOOP UNTIL INKEY$ > ""
COLOR 0
CIRCLE (130, 113), 6
by surturz
Mon Feb 19, 2007 1:28 pm
Forum: QBasic / QuickBasic related
Topic: Is this Quickbasic?
Replies: 10
Views: 4171

not QB

I don't think it is QB...
IF END #5 THEN 22
is a syntax error in QB. It looks like it's checking if the cursor is at the end of file 5 - equivalent QB code would be IF EOF(5) THEN 22 . Anyone know a BASIC dialect where 'END' is used as EOF?? END normally terminates execution.

PRINT E$+"[00;59 ...
by surturz
Mon Feb 19, 2007 1:11 am
Forum: QBasic / QuickBasic related
Topic: QB4.5 vs Windows Vista
Replies: 4
Views: 6157

QB4.5 vs Windows Vista

Anyone trying to run QB45 programs under Windows Vista?

Problems I've had so far...

1) Full screen mode - depending on the graphics card driver you are using, you may not be able to run in full-screen mode, which will stop you using anything but SCREEN 0. One work around is to "upgrade" your video ...