Search found 148 matches

by Ralph
Thu Jun 21, 2007 12:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QB PGM run 40x in win full screen get error - pgm too large
Replies: 10
Views: 10137

acs wrote: f I shell to the other qb program exactly 40 times in Windows 2000 full screen - program aborts and console screen message is: Program too Large. your message, "Program too Large", seems to indicate that too much code is being loaded into memory. Assuming that none of the programs you are...
by Ralph
Tue Jun 19, 2007 5:01 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QB PGM run 40x in win full screen get error - pgm too large
Replies: 10
Views: 10137

My first thought is: Do you terminate the program each time, or do all 40 remain running?
by Ralph
Sun Jun 17, 2007 2:23 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading and Writing to the buffer
Replies: 15
Views: 14590

Why couldn't one use something like this:

Code: Select all

CLS

DIM buf1 AS STRING
buf1 = "Hello, world"

PRINT buf1
PRINT MID$(buf1, 1, 5)
PRINT SPC(5); MID$(buf1, 5 + 1, 4)
PRINT SPC(5 + 4); MID$(buf1, 5 + 4 + 1, LEN(buf1) - 5 - 4)
by Ralph
Thu Jun 14, 2007 3:58 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Display lines from text file
Replies: 10
Views: 12475

I don't know where one might find a QuickBASIC manual, but, a good place to learn is with tutorials. For starters, go to the top of this site and click on the link,
Return to Pete's QBasic Site
Then, search in the left-hand sidebar for Tutorials.

If you need more tutorials, let us know.
by Ralph
Mon Jun 11, 2007 11:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading and Writing to the buffer
Replies: 15
Views: 14590

Copy some text file to a floppy on the A:\ drive, let's say, the file, "AnyFile.txt" Now, enter this little program in QuickBASIC: CLS OPEN "A:\AnyFile.txt" FOR INPUT AS #1 WHILE NOT EOF(1) WHILE INKEY$ = "":WEND LINE INPUT #1, A$ PRINT A$ WEND CLOSE #1 Run the program. You will see the A:\ drive tu...
by Ralph
Mon Jun 11, 2007 10:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Read or write directly from the Hard drive?
Replies: 4
Views: 6466

Reading the memory

Go to Help, Index, P, and double click on PEEK. But, PLEASE! don't mess with POKE!!!
by Ralph
Mon Jun 11, 2007 9:51 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading and Writing to the buffer
Replies: 15
Views: 14590

From the Wikipedia: Buffer (computer science), memory used to temporarily store output or input data. "Writing" to a buffer: When you read a file from your hard drive, from a floppy, etc. you first OPEN the file, and assign a buffer file number, as in the code line: OPEN "C:\Letters\MyText.txt" FOR ...
by Ralph
Sun Jun 03, 2007 11:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Physics engine
Replies: 1
Views: 5348

Graphics and movement

Perhaps, if you go to this Pete's QuickBASIC site, you will find your asnswer:
site:http://www.petesqbsite.com/sections/tut ... ials.shtml