Search found 18 matches

by johnfin
Fri Feb 28, 2014 1:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: qbasic in windows 7
Replies: 2
Views: 9653

qbasic in windows 7

I wrote some programs under xp, compiled them and they worked pretty good. One program was a file manager and created directories and files via a shell. Well in 7 there is no shell and the program wont run. Can I run my older programs in 7?
by johnfin
Tue Dec 16, 2008 10:00 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Simple OPEN problem
Replies: 2
Views: 5436

p.s.

the spaces have been truncated in this posting of the directory listing. The true position for PN$ is 40 characters.
by johnfin
Tue Dec 16, 2008 9:59 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Simple OPEN problem
Replies: 2
Views: 5436

Simple OPEN problem

I am having a problem with an OPEN statment bombing out. It is suppose to search a junk.tmp file for a string PN$=0992 then passes to FOUNDIT. The program just exits. JUNKCHECKIT: dro$ = "dir f:\" + PN$ + " > junk.tmp" SHELL "cmd /c " + dro$ OPEN "junk.tmp" FO...
by johnfin
Fri Nov 14, 2008 3:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: long file names
Replies: 12
Views: 16440

long file names

I am writing a file into a dos directory via qbasic and I need a file name longer then 8 characters. Any ideas?
by johnfin
Fri Apr 04, 2008 2:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Subs and variables
Replies: 7
Views: 10774

Jumping

I have a main module with a bunch of subs. I jump sub to sub to sub but need to know how to return to the top of the main program. I tried a goto line # or label and it cant find it. I even tried to share the label name but it cant find the main program. Any ideas?
by johnfin
Fri Apr 04, 2008 1:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Subs and variables
Replies: 7
Views: 10774

variables

Thanks Ted, I'll try the shared command.
by johnfin
Fri Apr 04, 2008 8:05 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Subs and variables
Replies: 7
Views: 10774

Subs and variables

It seems that I am loosing my variables while popping back and forth between subs. I have inputs in the various sub routines yet when I try to access all of them they come up as zero. What am I doing wrong.
by johnfin
Thu Apr 03, 2008 11:51 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Quick tip needed
Replies: 2
Views: 5413

menus

Ok, I found the problem. I did not have full menus turned on so I could not see that option. Thanks.
by johnfin
Thu Apr 03, 2008 9:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Quick tip needed
Replies: 2
Views: 5413

Quick tip needed

How do I create separate windows within qbasic for the subs. I can see the main routine with F2 but forgot how to create other sub windows.
by johnfin
Thu Apr 03, 2008 8:04 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 20134

Graphics

1. That program listed above has numerous errors other then the tprint, ie 'end if' errors, Image(0) array not defined errors. 2. Is there a good shareware program that can take care of my bmp editing. I have been using photoline32, and while its powerful, its not easy to use. 3. Can I draw 1BPP mon...
by johnfin
Wed Apr 02, 2008 2:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 20134

versions

There are MANY versions of qbasic, thats what I mean by version 4.5. I was not able to get a TPRINT command to work so I figured is must be in another version. It came up with a SYNTAX error. I was able to get a Bload'ed bsv file to come up but it is crude. Screen 12 and 13 have poor resolution. I w...
by johnfin
Wed Apr 02, 2008 12:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 20134

Errors

Too many syntax errors in that code. Is it Qbasic, ie Tprint? whats that, also 'end if' syntax errors. I am running v4.5 I believe.
by johnfin
Wed Apr 02, 2008 12:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 20134

Graphics

Thanks, I will give that code a try.
by johnfin
Wed Apr 02, 2008 8:37 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 20134

easier way

ok, I was thinking, maybe an easier way is for me to make a clean bitmap using paint, monochrome, instead of an existing picture. Would this be better.
by johnfin
Wed Apr 02, 2008 8:32 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 20134

Graphics

Ok, I have read the posts and I am really confused now. I have been playing around with the bsave and loadany and cant get them to work. I can see my file in the bsave , its 8bpp, but I cant load it and I cant get the load routine to run from the bsave zip. Is there an easy way to do this?
by johnfin
Tue Apr 01, 2008 12:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 20134

Graphics routines

Are there any methods for getting common graphics files(.bmp.gif.jpg) to display in qbasic programs.
by johnfin
Tue Apr 01, 2008 12:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Text colors
Replies: 2
Views: 5477

text color

Thanks, god I am rusty. I write basic programs about once a year.
by johnfin
Tue Apr 01, 2008 8:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Text colors
Replies: 2
Views: 5477

Text colors

How can I print different colors of text on the same line. I have tried TAB and ; and I cant get it to work.