Search found 2390 matches

by burger2227
Wed Dec 05, 2007 3:45 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Trying to get a Battleship Program ASAP
Replies: 29
Views: 19241

Another one bites the dust! Try C or Cobal programming. It is a lot easier LOL. Thanks for giving up. Now you can look forward to being a Walmart stocker 24 hours a day! But they use computers too! If you really want to learn, come back. Telling a computer to do something is kinda neat. Once you get...
by burger2227
Wed Dec 05, 2007 3:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Cut binary file
Replies: 5
Views: 6630

Makes sense! The record fields can be marked and overwritten in that case. To shorten the file is most likely a futile overature. You may have to add something to the file later! I hope you are NOT thinking like Bill Gates and the 640K limit in his garage. Windows hogs memory and the hard drive, so ...
by burger2227
Tue Dec 04, 2007 2:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: View a vehicle track on a ground grid
Replies: 4
Views: 4557

286

A 286? Wow, you need something a little faster. Try it on a friends machine and good luck. My old lady tossed mine out when she tossed me out. Unfortunately, I did not end up in the same garbage bin!

I had a ton of good DOS games on that sucker!

Ted
by burger2227
Mon Dec 03, 2007 7:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: File handling and Case study....
Replies: 6
Views: 6630

That is NOT CODE! That is an outline of your freaking assignment! We don't write code for people that is homework and you seem like a smart ass anyhow! Finally, out of the goodness of your heart, you give us your assignment! And you banter us for not writing it for you? Ooops, where did I put my cry...
by burger2227
Mon Dec 03, 2007 2:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Trying to get a Battleship Program ASAP
Replies: 29
Views: 19241

Well, ASCII is just text really and you can make a crude boat just using a forward slash and a backslash with some dashes between. That could be done without knowing any ASCII codes! Instead of all of this bantering and complaining about the teacher, you ought to start doing something. Your descript...
by burger2227
Mon Dec 03, 2007 4:13 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Trying to get a Battleship Program ASAP
Replies: 29
Views: 19241

It's probably an ASCII text game.
by burger2227
Mon Dec 03, 2007 3:28 am
Forum: QBASIC and QB64 Questions & Answers
Topic: What's the largest possible double number?
Replies: 8
Views: 7151

Mac is trying to tell you that some numbers such as 120 / 1500 will be represented as an exponent of the number in some cases. This is called scientific notation for an infinite or very long number, which no Qbasic program can do. To print the number to the screen in real terms, use PRINT USING and ...
by burger2227
Sun Dec 02, 2007 12:09 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Trying to get a Battleship Program ASAP
Replies: 29
Views: 19241

Sorry kiddo

Most people will not do homework FOR you. Why? 1) Because your classmates outnumber you and they would probably beat the crap out of you if you got caught 2) You WILL get caught! Your teacher is no fool. 3) Many of us use much more advanced programming methods! Your program would be obvious to other...
by burger2227
Fri Nov 30, 2007 8:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 37585

Notice

Presently Danner and I are waiting for the parts to come in. I will update this thread when we finally get something running. I contemplate using the Control port 890 to drive the door latch relay using a 4N29 Opto-Isolator chip. I will supply that code later, if anybody is following this thread. We...
by burger2227
Thu Nov 29, 2007 11:29 pm
Forum: General Discussion
Topic: What's the best way to fill in a triangle?
Replies: 11
Views: 13593

You did not mention what programming language, but QBasic can use PAINT. It requires an enclosed shape of one border color only.

PAINT(x, y), fillcolor, bordercolor

You also have to place the PAINT coordinates x and y inside of the shape.

Ted
by burger2227
Thu Nov 29, 2007 2:37 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: reversible hex dump
Replies: 6
Views: 6569

True that you might be able to do it with the help of assembly code. I am sure there are other options too, but you specifically said "in Qbasic". I figure if you can do it in C, why bother doing it a harder way. Good luck on your project. Feel free to tell us of any new ideas you come up with! We a...
by burger2227
Wed Nov 28, 2007 10:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: reversible hex dump
Replies: 6
Views: 6569

NOPE

QB cannot access RAM, so your stuck with C+.
by burger2227
Wed Nov 28, 2007 5:12 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Problem with program...
Replies: 23
Views: 15072

Speed

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
by burger2227
Wed Nov 28, 2007 1:10 am
Forum: General Discussion
Topic: windows cursor control
Replies: 4
Views: 6615

VB can mess with a mouse too, but them buggers are hard to catch!

Do you realize how much data would be in a file like that? WHY?
by burger2227
Mon Nov 26, 2007 2:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: File handling and Case study....
Replies: 6
Views: 6630

I think he needs help using a DOS SHELL to open his file IN Notepad!

Your professor

PS: What do you mean by "I think my program is about AIRPORT BOOKING"? I sure could not tell you!
by burger2227
Mon Nov 26, 2007 2:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Explanation of QBASIC code
Replies: 3
Views: 4101

You can find out if there is data in the receive buffer by using LOC(1). IF LOC(1) THEN a$ = INPUT$(15, 1) 'tries to get 15 bytes of data However, 15 bytes of data is really a lot to grab at once just because LOC says there is some data. I would use the code in a loop and use: DO IF LOC(1) THEN a$ =...
by burger2227
Fri Nov 23, 2007 3:13 pm
Forum: Freebasic Questions & Answers
Topic: Can I make an image in Paint, then have a FB program load it
Replies: 53
Views: 86417

Interesting! So how is a RLE bitmap different than any other kind?

Ted
by burger2227
Fri Nov 23, 2007 12:59 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Rotating a bit map image
Replies: 11
Views: 11343

Well

Once an image is BLOADed or gotten with GET, all of the data is in the array including the dimensions. Each piece of data can be manipulated using trig or just by reading the data differently. Some people index the RGB color settings for the bitmap first, so you have to find the start of the image d...
by burger2227
Fri Nov 23, 2007 10:42 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 37585

Update

I have updated my Q-basics tutorial with your scenario. My idea uses the 5 status pins, including the inverted one (LOL). I also include the encoder chip EDE1144 and a schematic. http://www.qbasicstation.com/index.php?c=p_member&filecat=3 The chip sends binary numbers to the S3 to S6 pins of the par...
by burger2227
Sun Nov 18, 2007 10:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 37585

OK, I found an Encoder for Parallel or Serial data from your shorting keypad. It is an EDE1144 IC which requires a 4Mhz crystal, but can also use a beeper to acknowledge a press. It sends out 4 bits of binary data for a parallel port also. It can also be connected to a serial port, but we won't even...