Search found 48 matches

by RyanKelly
Tue Dec 05, 2006 8:56 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: scripting engine
Replies: 6
Views: 11796

Most hard drives should be able to handle the continual access, and your operating system will most likely try to cache the information, but the real issue you'll face if a severe speed penalty. Depending on the amount of data you plan to store in your script, it might be a better idea to try and lo...
by RyanKelly
Mon Sep 04, 2006 6:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: c to basic convert
Replies: 4
Views: 10545

[quote="Seb McClouthWhat do you mean with "falls off"?[/quote] The << operator is intended to perform bit shifting WITHOUT rotation. The proccessor has an assortment of bit shifting instructions, some with rotation and some without, some that transfer the high or low bit to the carry ...
by RyanKelly
Sun Aug 20, 2006 8:54 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Compile mutiple modules
Replies: 4
Views: 8856

Re: Compile mutiple modules

Can someone please explain one more time how to compile multiple modules, from the dos-prompt? Seems to go wrong with my stuff. Some clean stuff might be refreshing. thx If you can compile a single module then compiling multiple modules shouldn't be much trouble. Compile each source to generate and...
by RyanKelly
Mon Jul 17, 2006 11:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 32206

Okay, what I wan't to happen is: 1. I wan't to write several lines of text into an input statment 2. I wan't to open those lines of text from the file later in the program. My problem: when I say open for append, the files get writen at the end of the file, just like i wan't them to, but then, when...
by RyanKelly
Sat Jun 17, 2006 8:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: View Ports (no, not that question down at the bottom)
Replies: 11
Views: 24579

Theophage, the Window and View facilitates QB's custom coordinate system, which is in effect whether you use it not, which means that QB's graphics routine perform the same calculations to effect coordinate translation all the time. You could implement such translation on your own, and the end resul...
by RyanKelly
Wed Jun 14, 2006 9:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: I need some help with a homework assignment [SOLVED]
Replies: 8
Views: 15536

Z!re, before I comment I want to make it clear that I am NOT taking issue with your admin decisions. I usually don't provide specific code to people looking for homework help, but in this case, all that was needed was three lines of code. I assumed the poster would be using it in the context of a la...
by RyanKelly
Sun Jun 04, 2006 12:09 am
Forum: QBASIC and QB64 Questions & Answers
Topic: I need some help with a homework assignment [SOLVED]
Replies: 8
Views: 15536

view print linetoclear to linetoclear: cls: view print
EDIT: Edited to not reveal the answer to the homework question. Z!re
by RyanKelly
Tue May 30, 2006 5:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Veiw Ports
Replies: 1
Views: 5412

Unfortunately, the VIEW setting doesn't effect the location of character output. You could implement your own screen buffer and cursor position. As for the DOS screen, you could display a prompt, use INPUT to get the command line. Then shell the command with the output redirected to a temporary file...
by RyanKelly
Tue May 30, 2006 5:19 pm
Forum: Pete's QB Site News
Topic: Google Analytics
Replies: 2
Views: 16228

Re: Google Analytics

Who ever said, "There's no such thing as good news."
I didn't mind the pop ups too much, but I won't miss them.
by RyanKelly
Tue May 23, 2006 8:10 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: how to get input from COM1 and how to parse it?
Replies: 13
Views: 26775

You cant if the QBASIC program is being run on a windows computer. End of story. Not true. Most issues with QB and a COM port can be solved by turning off the FIFO buffer. Not true, again. There is no direct hardware access in Windows (Counting from versions after win98) So accessing such things fr...
by RyanKelly
Mon May 22, 2006 8:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: how to get input from COM1 and how to parse it?
Replies: 13
Views: 26775

Z!re wrote:You cant if the QBASIC program is being run on a windows computer. End of story.
Not true. Most issues with QB and a COM port can be solved by turning off the FIFO buffer.
by RyanKelly
Sat May 13, 2006 9:17 pm
Forum: General Discussion
Topic: New programming language...
Replies: 11
Views: 29628

I think the difficulty many people encounter when they are introduced to C++ is that there are different flavors to C++ programming. C++, like C, has an interesting division between syntax and standard routines. Programmers who begin with Basic think less about syntax and more about the use of speci...
by RyanKelly
Mon Apr 24, 2006 3:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with creating moveable windows for my GUI
Replies: 4
Views: 7598

Please describe how the screen is being "messes up".
You might want to try hiding the mouse cursor before drawing to the screen.
by RyanKelly
Fri Apr 07, 2006 10:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MMORPG in QBASIC?
Replies: 15
Views: 50233

I wasn't sure I could trust a machine translation. ;) It's not possible. A QB program is simply not fast enough to handle all the information. Assuming the world is larger than a 100x100 grid, and that there are more than 2 people playing. It's a matter of design and ambition. I don't think what you...
by RyanKelly
Thu Apr 06, 2006 9:11 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Illegal function call
Replies: 3
Views: 10184

Before using any graphic statements, you need to set the screen mode with the SCREEN statement.
by RyanKelly
Thu Apr 06, 2006 6:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MMORPG in QBASIC?
Replies: 15
Views: 50233

No. The babel fish gave me this Z!re to English translation: "Writing an internet application in QB requires a wealth of knowledge and effort. You'll need to set up a pure DOS system, aquire and setup TCP drivers and either an ethernet card driver or a PPP driver and dialer. Then you'll need t...
by RyanKelly
Thu Apr 06, 2006 5:37 pm
Forum: News and Announcements
Topic: Suggesstion
Replies: 6
Views: 17757

There are plenty of forums and groups out there for specific topics like musing and graphing. Language specific sites like this with such sub forums either see very little use or posts that are either too generic to answer or so common that a general search engine could have answered them.
by RyanKelly
Fri Mar 31, 2006 3:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Appending binary in QB
Replies: 5
Views: 9036

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 All the time I've spent dealing with that sign bit and it never occurred to...
by RyanKelly
Fri Mar 31, 2006 3:21 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Searching Folders
Replies: 10
Views: 24472

Zamaster, if I have time tommorow I'll code an example to list the current directory using interrupts. DOS 7+ and the NT emulator provide services to retrieve a long file name once you have the DOS 8.3 alias. This requires a little more over head if you want to write a robust program. This technique...
by RyanKelly
Wed Mar 29, 2006 11:58 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Searching Folders
Replies: 10
Views: 24472

Zamaster, if you are not opposed to using CALL INTERRUPT, you can use a few DOS services to to enumerate the contents of a directory. You'll need to set the current directory to where you want to search, so you may want to save the directory your program started in and restore it when you're done. Y...