Problem with program...

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Sinuvoid
Veteran
Posts: 155
Joined: Wed Jul 25, 2007 8:20 am

Post by Sinuvoid »

how can i make my code faster as well?
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Speed

Post by burger2227 »

Speed is based on how many prints you have, the delay times you set and the length of the file being read.

It is also based on the PC speed!

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
Sinuvoid
Veteran
Posts: 155
Joined: Wed Jul 25, 2007 8:20 am

Post by Sinuvoid »

Ah, how can i reduce print statements? And why is it when i run it in EXE form it slows down my WHOLE computer but lots... will try to amek code smaller by adding "?"'s instead of print.
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post by Seb McClouth »

Lee wrote:Ah, how can i reduce print statements? And why is it when i run it in EXE form it slows down my WHOLE computer but lots... will try to amek code smaller by adding "?"'s instead of print.
Reducing? Don't know.

Weird that is slows down your pc. It should make it faster. You tried running it in DosBox? You can download that here http://dosbox.sourceforge.net/.

? will result in QB as PRINT. If you compile from the prompt, ? will not be recognized.

Grtz
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
Post Reply