Search found 2466 matches

by burger2227
Sun Mar 23, 2008 9:53 pm
Forum: News and Announcements
Topic: (TCB) Scrolling plateform game
Replies: 41
Views: 136273

SHOE

That would not surprise me! You always put your foot in your mouth SMILEY lol.

Ted
by burger2227
Sun Mar 23, 2008 1:34 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Can anyone help me finish my program
Replies: 2
Views: 6065

That code actually works in QB?

I see quite a few coding errors including your code comments. Look at GOTO and perhaps get in the habit of dimensioning your arrays. QB arrays can only be undimensioned to 10. Comments need ' or REM. But to answer your question, use the FOR loop where you PRINT to add the numbers together using a su...
by burger2227
Sat Mar 22, 2008 2:00 pm
Forum: News and Announcements
Topic: Multiplication
Replies: 1
Views: 8514

DEF Fn

The DEF Fn function can easily be converted to a normal Function. This will allow the Function to be called repeatedly or in any part of a program.
DEF Fn is not recommended for recursive programs that repeat the DEF Fn call. That would create an error as it can only be defined once.

Ted
by burger2227
Tue Mar 18, 2008 11:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Networking
Replies: 3
Views: 12063

LOL

You can SHELL links and Windows will open them, but forget making a browser man. QB was made well before the web was a big thing! Amazingly, it allows a lot of stuff that even Windows has problems with. But M$ wants to get rid of DOS to make more money! SHELL "cmd /c start www.piday.org/million...
by burger2227
Mon Mar 17, 2008 10:06 am
Forum: General Discussion
Topic: Windows XP/QB 4.5 Port Programming.
Replies: 2
Views: 6953

Actually XP limits access to DOS and VB programs

Get PortTalk off of the web free. Follow the install instructions! You must add something to the registry, but it is done for you pretty easily by clicking on a file. AllowIO.EXE must be in your QB folder unless you use command line paths. Once you have it installed, look up your port addresses in W...
by burger2227
Sun Mar 16, 2008 2:26 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reversing Integers
Replies: 3
Views: 7015

Perhaps you can also use STR$(number%) to convert a number to a string. You should use LTRIM$ to eliminate the space before a positive number like this: num$ = LTRIM$(STR$(number)) Then use MID$ to rearrange each letter in the number in a counter loop. To convert a string to a number use VAL as alre...
by burger2227
Fri Mar 14, 2008 11:57 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: ?????
Replies: 7
Views: 17152

Hmmmmmmm

Mac you both used END instead of SYSTEM too. Bad boys LOL

Ted
by burger2227
Thu Mar 13, 2008 1:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Cannot post code!
Replies: 4
Views: 13157

Thanks

I will try without HTML

Ted
by burger2227
Tue Mar 04, 2008 1:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inserting Hexadecimal in a file
Replies: 11
Views: 28194

LOF(1) returns the length of an open file opened as #1. This returns the number of bytes or characters that are in the BINARY file. Thus you know the place marker for the next PUT is one extra byte. TheChar is the one byte String I referred to as 0$ = SPACE$(1). Either way works fine. You only add (...
by burger2227
Tue Mar 04, 2008 3:23 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Inserting Hexadecimal in a file
Replies: 11
Views: 28194

Why HEX? Any ASCII code could work from 0 up to 255. Hex can go beyond that limit easily. Just use: PUT #1, , CHR$(Number) to append it to a BINARY file end. To read the numbers, use GET #1, bytenumber%, O$ , where O$ = SPACE$(1) and use ASC(O$) if needed. Use a loop to read a file. If you ever need...
by burger2227
Mon Mar 03, 2008 11:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inserting Hexadecimal in a file
Replies: 11
Views: 28194

Hmmmmmmm same problem asking questions

You better learn how to ask a question here kiddo!

I don't decipher lame questions! And you have been warned BEFORE.

So I WILL PASS!

Mr. Obvious
by burger2227
Mon Mar 03, 2008 3:12 pm
Forum: General Discussion
Topic: Encryption and XOR
Replies: 15
Views: 31201

I'd assume so................

LOL
by burger2227
Mon Mar 03, 2008 3:03 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Cannot post code!
Replies: 4
Views: 13157

Cannot post code!

Code gets messed up when using <or>
by burger2227
Sun Mar 02, 2008 5:34 pm
Forum: General Discussion
Topic: Making something: Saving a text file as an .exe?
Replies: 5
Views: 13509

LOL

Well, all you really did was save an EXE as TXT and convert it back. No wonder it worked! If it was that easy to do why would you even need a compiler in QB? Try making a BAS file into a TXT file and renaming it EXE. The compiler changes your code to machine language. Notepad does not! You may have ...
by burger2227
Sun Mar 02, 2008 2:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Wont Work! :(
Replies: 12
Views: 19042

FAQs

Here are the FAQ links for transferring code to a forum. Your's is first and mine explains using Windows to do it: http://www.network54.com/Forum/171757/message/1193072240/Seems+like+this+question+keeps+getting+asked http://www.network54.com/Forum/171757/message/1195188984/Another+way+using+Windows+...
by burger2227
Sun Mar 02, 2008 12:18 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Wont Work! :(
Replies: 12
Views: 19042

And Algebra apparently! Mac, you should also have those tips on transferring QB code to a Forum. It is there, but not in the index. A note about DOSBOX. It may not run at the usual speed you are used to and commands like KILL can take up to 30 seconds. There is a way to adjust the speed a bit. A fel...
by burger2227
Sat Mar 01, 2008 12:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Wont Work! :(
Replies: 12
Views: 19042

Never heard of that problem

What OS are you using? QB should work in any version of Windows but Vista or XP(64) will only run SCREEN 0 programs.

Ted
by burger2227
Sat Mar 01, 2008 1:28 am
Forum: General Discussion
Topic: Making something: Saving a text file as an .exe?
Replies: 5
Views: 13509

Renaming a file does not make it that type of file. Many files require information headers that are not in a text file. You could make the text file into a BAS file and run it. Later you could compile it.

Ted
by burger2227
Fri Feb 29, 2008 5:17 pm
Forum: Freebasic Questions & Answers
Topic: A TRILLION PROBLEMS
Replies: 12
Views: 30329

Exactly

So we can significantly lower trillions to thousands then and make a real program.

Glad you finally caught on to what I was implying LOL

Ted
by burger2227
Fri Feb 29, 2008 3:32 pm
Forum: Freebasic Questions & Answers
Topic: A TRILLION PROBLEMS
Replies: 12
Views: 30329

Answer

Life expectancy? How can you ASSUME that every cell will live for a certain amount of time? What happens if a disease is added to the mix? I could go on, but even in the FB forum there have to be some limitations on rhetoric! Simple answers: Men in USA = 72 Women in USA = 80 Now find something else ...