Search found 2466 matches

by burger2227
Fri Feb 29, 2008 2:25 am
Forum: Freebasic Questions & Answers
Topic: A TRILLION PROBLEMS
Replies: 12
Views: 30319

Unbelievable!

What are you guys talking about? Where would the user interaction come from? A select 5000 bytes shown on the screen?

I cannot BELIEVE that both of you fell for this obvious JOKE. LOL

Ted

PS: Better buy a mainframe computer and a TRILLION bits of memory!
by burger2227
Thu Feb 28, 2008 7:57 pm
Forum: Freebasic Questions & Answers
Topic: A TRILLION PROBLEMS
Replies: 12
Views: 30319

Ridiculous!!!!!!!!!!!!!!!!!!!!!!

That sounds just plain Ridiculous! How would you know if a program missed a few thousand? You wouldn't!

Don't delete each bit of data! Just delete the idea from your mind!
by burger2227
Tue Feb 26, 2008 5:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 24430

Sure are

A variable name is used with LEN. It needs a value NOT 0. PRINT LEN(num) displays nothing! Also INT is a QB function and should be used as such. PATZ just used that as an example. You have to use a variable when getting lengths of numbers! LEN(200) will not work! Number = 200 bytes = LEN(Number) QB ...
by burger2227
Tue Feb 26, 2008 1:03 am
Forum: QBASIC and QB64 Questions & Answers
Topic: subroutine for adding random generated numbers
Replies: 2
Views: 6405

Try calling that!

To create a Random number, you just use RND. But you have to set the number limits first. RND returns a number from 0 to .9999999 by itself. That is not a great range of numbers. So now you have to set a maximum number by multiplying the RND by the maximum number needed. Most times you need an Integ...
by burger2227
Tue Feb 26, 2008 12:34 am
Forum: Pete's QB Site News
Topic: Going to revise the TUTORIALS section... suggestions?
Replies: 5
Views: 38575

I have one particular Interrupt routine that I can update. I don't care who gets credit for it, but the present code is just wrong in one area. It is a Screen 13 Fast Bitmap loader addition in the tutorial. If you need any help, email me Pete. One MAJOR problem here is that the Hexadecimal ampersand...
by burger2227
Fri Feb 22, 2008 4:53 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: PSET
Replies: 2
Views: 6993

Common mistake

Try using a graphics SCREEN mode like 12. The default SCREEN 0, cannot display graphics. It is Text only.

Ted
by burger2227
Fri Feb 22, 2008 12:45 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 24430

Here's an example of a type: TYPE DTAData 'used by DOS services Reserved AS STRING * 21 'reserved for use by DOS Attr AS STRING * 1 'file's attribute Time AS INTEGER 'file's last change time Date AS INTEGER 'file's last change date Size AS LONG 'file's byte size Named AS STRING * 13 'file's name END...
by burger2227
Thu Feb 21, 2008 7:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 24430

I'll be jiggered!

Never tried that. I thought it only did strings. Nice to know!

Ted
by burger2227
Thu Feb 21, 2008 3:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 24430

Here are the byte sizes in QB:

Integer = 2 bytes = 16 bits 'thus you can store 2 values in AH and AL
Long = 4 bytes = 32 bits
Single = 4 bytes = 32 bits
Double = 8 bytes = 64 bits

That is how you determine the size of a TYPE declaration for file records or headers.

Ted
by burger2227
Wed Feb 20, 2008 2:01 am
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 24430

Why couldn't you?

Let me know how it works out Seb.

All ya gotta do is try it! It probably won't break your machine.

Ted
by burger2227
Sat Feb 16, 2008 10:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 13344

ChID is defined as LONG and cannot equal a value from a single type array.

& <> !

Ted
by burger2227
Sat Feb 16, 2008 5:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: What are some applications for pointers?
Replies: 9
Views: 20606

sorry

I meant that the location never changes so that the variable is just not floating in space like normal Sub or Function variables are. Usually despite keeping the value, it can be changed. The location does not.

Ted
by burger2227
Sat Feb 16, 2008 5:42 am
Forum: QBASIC and QB64 Questions & Answers
Topic: What are some applications for pointers?
Replies: 9
Views: 20606

memory

Another way to manage memory is to make your function or sub variables STATIC. That way, the variable is erased on exit.

Ted
by burger2227
Thu Feb 14, 2008 1:16 am
Forum: General Discussion
Topic: Scientology protest in Hollywood
Replies: 12
Views: 29411

YUCK

I don't believe in ANY religion! After all, every one was created by man and man always seems to have this URGENT need to get into your pockets!

I'd rather worship FB than that............

Ted
by burger2227
Thu Feb 14, 2008 1:09 am
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 13344

Try Common Shared for BAS files. That works with CHAINed modules. SHARED values are only shared inside of that module. Otherwise try using a data file that the programs can just pass the values in. Stand alone EXE files require data files, as Common Shared does not work without BRUN.EXE. Although I ...
by burger2227
Thu Feb 14, 2008 12:58 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Custom PUT routine to screen 12
Replies: 1
Views: 3800

Sure

I gather you are using a BLOAD array. PUT the image on the screen and then just GET what you need and erase the original picture. This should hardly take much time. Just erase it with a black full box. CLS is too slow and can cause screen flicker. If you use two Arrays or index one array, then you c...
by burger2227
Mon Feb 11, 2008 11:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 46097

NOD is a troll dammit

Nod Quote: "Support coder complacency and make a QB clone" He is a scumbag that is trashing QB64 while loafing in a supposed QB compatable FB site. He is a useless TROLL! I think the kid lost his crayons. Check Nod's answers that supply anything that looks like he codes anymore...............
by burger2227
Sun Feb 10, 2008 9:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 46097

FINALLY!!!!!!!!!!!!!

Once you get flamed buddy, you sure have a WHOLE lot of nothing to say in 2 paragraphs! Don't get me wrong here. I am more than willing to help if I can figure out the question! ADMIT it! You spent a lousy minute typing that sentence in and got no replies until Nod finally figured it out. For once h...
by burger2227
Sun Feb 10, 2008 6:51 pm
Forum: Freebasic Questions & Answers
Topic: Compiling in FB with OpenGL
Replies: 18
Views: 40336

Watch him!

Codemss is a know borrower of code. He then makes his own programs with it and wants credit if you use it. He used to hound the QB sites with tons of questions, so I guess it's your turn.

At least HE is learning something!

Ted
by burger2227
Sun Feb 10, 2008 6:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 46097

Why continue this thread?

If the OP does not have the time to at least explain in ONE freaking paragraph what he wants, then the hell with him! NOD, Goodbye and stay at the FB area where the rest of the Flamer morons loaf! You don't program anymore! You just Troll........ I agree with Roy. Why answer a lazy ass question in t...