Search found 148 matches
- Wed Jul 02, 2008 9:31 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: TI-BASIC program - Need suggestions.
- Replies: 25
- Views: 45736
I used to have a TI-10, a $150 calculator that did the four basic arithmatic functions, plus SQUARE ROOT! Due to my being an electrical engineer in the power consulting business, the square root was a real wonder for me and made my short circuit calculations so much easier! Then, I bought myself a T...
- Wed Jul 02, 2008 8:47 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Bigger window
- Replies: 9
- Views: 15364
- Wed Jul 02, 2008 8:12 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: how do i copy and paste in QBASIC?
- Replies: 5
- Views: 11415
To Paste in QB, click on the left-topmost corner of the windowed QB screen, or just to the left of the QuickBASIC name, choose Edit, Paste, done. SUBs hae a little problem, in that two, instead of one, END SUB appear at the bottom of each SUB, so, one must be removed. Also, indentation is sometimes ...
- Fri Jun 27, 2008 10:37 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: plz help me with these question and l don't have a clue to t
- Replies: 6
- Views: 12188
- Fri Jun 27, 2008 10:22 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: plz help me with these question and l don't have a clue to t
- Replies: 6
- Views: 12188
- Mon Jun 02, 2008 1:14 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: 256 colours
- Replies: 12
- Views: 24779
I must say that I have gained from each of the above posts! :D In particular, I love burger2227's very simple code for the 256 colors in SCREEN 13, and kiyotewolf's color-number table, with group descriptions. I noticed that there are three repeating groups of 72 numbers each, namely: 1st group: 32 ...
- Tue May 27, 2008 12:09 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Snake game help
- Replies: 14
- Views: 46137
Let's say you have a 4-pixel-long snake, and that is located at coordinates x,y, as follows: (4,10), (4,11), (5,11), and (5,12). To move it so the last pixel, (5,11), which I will call the head, moves down one pixel, with the rest following, just review my SnakeRAE code, as it is all there. Now, to ...
- Mon May 26, 2008 8:12 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Snake game help
- Replies: 14
- Views: 46137
Well, Malifecs, coding is such a vast field, that one can only concentrate on one thing at a time. At this point, I feel that I supplied you with some code that you should study and understand. Then, you can do a few, experimental changes, with some forethought about what you expect to happen, in or...
- Wed May 14, 2008 10:12 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Snake game help
- Replies: 14
- Views: 46137
- Sat May 10, 2008 12:06 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Snake game help
- Replies: 14
- Views: 46137
- Wed May 07, 2008 10:08 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Snake game help
- Replies: 14
- Views: 46137
Malifeks: It is obvious to me that you have not run this program! Which makes me think you might not have made it. The program base is fairly done, the graphics seem too superior to have been made by you, without even having run the program. As to limiting the snake's size, you can do that by using ...
- Wed Apr 30, 2008 3:48 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: MEMORY OVERFLOW ERROR !!! (Don't need help anymore)
- Replies: 16
- Views: 30209
- Wed Apr 30, 2008 12:29 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: MEMORY OVERFLOW ERROR !!! (Don't need help anymore)
- Replies: 16
- Views: 30209
- Sat Apr 19, 2008 4:40 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Graphs and what not...
- Replies: 25
- Views: 32605
- Thu Apr 17, 2008 10:44 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Graphs and what not...
- Replies: 25
- Views: 32605
- Wed Apr 09, 2008 1:21 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Assembler / Machine Language
- Replies: 13
- Views: 20065
Mestrinho: Because it seems that Michael will be pretty busy, I am taking the liberty of informing you that Michale has already pointed out that the following partial code is wrong: IF melh <5> 1 THEN In BASIC and QB, the above line should be written as: IF melh > 1 AND melh < 5 THEN O.K., it seems ...
- Mon Apr 07, 2008 7:23 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: COLOR for screen 13
- Replies: 16
- Views: 21616
Lee: If you only want the text background to match the SCREEN background, here is another way. Since it involves GETting and PUTting, first of all, let us know if you understand how to use those two graphics statements. Assuming you do, here's how: 1. Print the string. 2. DIMension an array to (L*8,...
- Sat Apr 05, 2008 9:44 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Graphs and what not...
- Replies: 25
- Views: 32605
- Sat Apr 05, 2008 8:03 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: swapping the bytes of an integer
- Replies: 13
- Views: 21053
Michael Cakins' one liner really did the trick! When I added one line at the beginning, and one at the end, it showed the answer as 3437, the correct value. I = 27917 i = CVI(RIGHT$(MKI$(i), 1) + LEFT$(MKI$(i), 1)) PRINT i TmEE's code, when I added the line at the beginning, theinteger%=27917 and, a...
- Fri Apr 04, 2008 5:16 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Subs and variables
- Replies: 7
- Views: 10836
When you use a SUB (consider it as a sub-program), the main program simply goes to the address of that SUB, the SUB executes its code, and, at END SUB, the program simply returns to the next line from where it took off for the SUB. So, if you execute one or more SUBS, and want to end up someplace di...