Search found 132 matches

by Antoni
Fri Jun 16, 2006 10:14 am
Forum: Pete's QB Site News
Topic: Should I change the name of this site...
Replies: 14
Views: 38074

I will not be answering VB questions then....
by Antoni
Thu Jun 08, 2006 3:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QB 1.1 or 7.1 will not print out a hard copy.
Replies: 3
Views: 5840

If you are not using extended ascii characters, the easiest way is to print to a file then call notepad to print.

Code: Select all

 
shell "notepad /p  myprintfile"
No driver hacking required...
by Antoni
Fri May 12, 2006 9:24 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Environment Variables
Replies: 5
Views: 7965

Just do a batch file that runs the program that changes the environment, then the program that requires the new environment in the same DOS window.
If you close the window the changes will be lost, and they won't affect to a different DOS window.
by Antoni
Mon May 08, 2006 1:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: print an image file
Replies: 4
Views: 9908

RayBritton wrote:no but if you are in dos mode, you can display the picture on the screen and press Prt Scrn
...and you have loaded the GRAPHICS driver at DOS start and have a printer compatible with the very old dot-matrix IBM Proprinter.....

PrintScreen by itself printed only text screens in DOS!
by Antoni
Thu May 04, 2006 3:58 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Array question
Replies: 3
Views: 8506

Re: Array question

>Are all elements of an array stored in consecutive memory like in C? Yes, they are >Also if they are given storage ahead of time and you declare an array without a type how does it know how much space to give without knowing the type? Arrays in QB always have a type, if you omit it the default type...
by Antoni
Sun Apr 30, 2006 4:45 pm
Forum: News and Announcements
Topic: External sorting challenge at ABN
Replies: 0
Views: 13097

External sorting challenge at ABN

External means that the arrays ara too big to fit in memory. The fastest wins.
http://forum.qbasicnews.com/viewtopic.php?t=11839
by Antoni
Sat Apr 29, 2006 4:23 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: 2D Graphics Library
Replies: 8
Views: 17689

Z!re wrote:AFLIB2 is a software library.
This sentence puzzled me for a while. Finally I got it..... :D
by Antoni
Sun Apr 23, 2006 3:14 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Type mismatch error
Replies: 2
Views: 5249

I Hope it helps COLOR 7, 0 CLS DIM b AS STRING 'border drawing character DIM contestant AS STRING 'contestant name DIM prize AS INTEGER 'prize won DIM prizetext AS STRING 'prize won text DIM printstr AS STRING 'print string DIM x AS INTEGER 'loop variable DATA "Jim Jone", 4 DATA "Nanc...
by Antoni
Sat Apr 08, 2006 10:31 am
Forum: QBASIC and QB64 Questions & Answers
Topic: BASIC for Windows
Replies: 16
Views: 22210

hero_bash:
A lot of people has been telling it to you in previous posts: FB is great.
Your resistance is futile...we're everywhere! :D
by Antoni
Sat Apr 08, 2006 4:22 am
Forum: QBASIC and QB64 Questions & Answers
Topic: BASIC for Windows
Replies: 16
Views: 22210

by Antoni
Thu Apr 06, 2006 7:55 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Direct QB Lib stuff
Replies: 7
Views: 10091

IIRC the directQB builder was very picky about those long folder names Windows shortens like myfold~1.
Be sure the folder where you are building DQB and the path to QB do not have any ~ sign on them when used from DOS.
by Antoni
Wed Apr 05, 2006 2:26 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Printing from a DOS App to a USB port in Windows (98 or XP)
Replies: 5
Views: 6972

If this don works you can print to a file then shell to notepad with /p option

Code: Select all

shell "notepad /p yourprintfile.txt"
This should work with any printer that works in Windows.
by Antoni
Thu Mar 30, 2006 2:39 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Appending binary in QB
Replies: 5
Views: 9088

For qbasic: 'set 31 bits dblword&=(loword% and &hffff&) or ((hiword% and &h7fff&)*&h10000&) 'set the sign bit if needed if hiword% and &h8000 then dblword&= dblword& or &h80000000 Another way (slower but cleaner) dblword&=cvl(mki$(loword%)+mki$(hiword%...
by Antoni
Sun Mar 05, 2006 11:12 am
Forum: QBASIC and QB64 Questions & Answers
Topic: 'Fake' events
Replies: 3
Views: 5981

True events trigger a hardware signal (interrupt) that takes the control of the program to a sobroutine that services them, then the program resumes where it got stopped. The program does not have to worry about if an event occurs, and it's not slowed down if there are not events, as the hardware po...
by Antoni
Thu Feb 16, 2006 7:00 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Running ASM code
Replies: 9
Views: 11887

There are several QB programs that run as a frontend to DOS's DEBUG, you can input assembler code to them, they output a chunk of QB code including a loader and the required CALL ABSOLUTE Check the site of Glenn Stumpf (the Glenn of QB45.com), i think one of the guys of Enhanced Creations (Peter ?Ho...
by Antoni
Sat Feb 11, 2006 6:33 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QB Tile Array Question
Replies: 2
Views: 4355

Try SuperPut by Rel and Plasma http://www.phatcode.net/downloads.php?id=166 It rotates sprites, clips them safely and does transparencies without a mask. All QB's PUT shortcomings solved. It's a pair of subs you add to your code, you call them at the start of the program, then you keep using QB's PU...
by Antoni
Mon Feb 06, 2006 9:08 am
Forum: QBASIC and QB64 Questions & Answers
Topic: need help please
Replies: 6
Views: 7691

Re: need help please

i was woundering if there is any way that compines qbasic with c# so that i can take values from qbasic run and use it in a c# program? please describe to me "in code example" how to send output values to fill an excell sheet.,and how to send out puts to a notepad? You can't use qb to con...
by Antoni
Sun Feb 05, 2006 11:49 am
Forum: QBASIC and QB64 Questions & Answers
Topic: ascii graphics
Replies: 8
Views: 16739

Btw: A texmode demos place http://taat.fi/tmdc/
by Antoni
Fri Feb 03, 2006 10:34 am
Forum: QBASIC and QB64 Questions & Answers
Topic: ascii graphics
Replies: 8
Views: 16739

In a true Text Mode (SCREEN0) you can't have pixel graphics as textmodes does'nt allow adressing individual pixels at all. So you need to build graphics from the available characters. There are editors for them, check for the newest as Rattrapmax's, as the older ones encode its output for an ANSI te...
by Antoni
Sun Jan 29, 2006 4:39 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: BASIC Compiler on MAC OS X? Free-moving map editor?
Replies: 6
Views: 8217

Chipmunk Basic is not a compiler AFAIK..
http://www.nicholson.com/rhn/basic/

v1c is converting FreeBasic into a frontend to gcc, When it's finishedm the port to system X will be easy. Can you wait?