Search found 409 matches

by Mentat
Wed Sep 05, 2007 4:19 pm
Forum: Pete's QB Site News
Topic: QB Express Article Requests
Replies: 140
Views: 632169

Effects...hm. I'm not doing much on them, just math for workhorse engines. And I don't include ASM or libraries, just good old plain QB.

But effects are pretty cool, especially if they don't tie up the computer. 8)

I finished my first PE tutorial. Just vectors though.
by Mentat
Tue Sep 04, 2007 8:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading
Replies: 2
Views: 5040

Okay. I'm saving to .DAT. I'm trying to have a lot of data saved, and then a part called upon when needed (ex: loading vertices, text, and events upon entering a room, and when the character leaves, that data is saved and then deleted or written over for another room). So how do I get info from .DAT...
by Mentat
Tue Sep 04, 2007 6:02 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Large arrays
Replies: 5
Views: 8166

Save to .DAT, write to a smaller array, and when you need to, write over it.
by Mentat
Mon Sep 03, 2007 8:20 pm
Forum: General Discussion
Topic: Do ya guys use a social networking site?
Replies: 4
Views: 10626

Well, there's the Ortise website that's new.
by Mentat
Mon Sep 03, 2007 6:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Read/Data error!
Replies: 7
Views: 13758

Thanks a lot :D . But I might switch over to .DAT instead. See the Loading post.
by Mentat
Mon Sep 03, 2007 8:58 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading
Replies: 2
Views: 5040

Loading

This is about my RPG engine. I happened to notice that I made a rather bad assumption on storing my data for my verticies. Previosly, the QB memory limitations allowed me to store enough data for around 5000 cubes. I realized that I made the assumption of storing the data for sides to the verticies,...
by Mentat
Mon Sep 03, 2007 7:25 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Qbasic Virus MUHAHAHAHA!!!
Replies: 8
Views: 13805

I don't think so. Operating systems protect their files, especially against batch programs. And Microsoft Outlook also has protection. Don't forget, a QBASIC program looks foreign when sent/recieved to the computer. If such a program is activated, the OS (at least for windows) will probably crash th...
by Mentat
Sun Sep 02, 2007 8:51 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 19063

Do you have nothing better to do than torture your poor computer?
I guess I'm guilty of it too :) .
by Mentat
Sun Sep 02, 2007 5:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Source for QBasic or QuickBasic
Replies: 27
Views: 46392

Then why are the languages slow in the first place? Why doesn't microsoft or whoever make it right the first time. I understand some things are learnt over time, but the speed/memory spectrum seems quite wide.
by Mentat
Sun Sep 02, 2007 2:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 19063

Somtimes, the best way is for the computer to recreate the best matrix by using the rules.
by Mentat
Sat Sep 01, 2007 3:52 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Source for QBasic or QuickBasic
Replies: 27
Views: 46392

But why is FB faster than QB?
by Mentat
Sat Sep 01, 2007 2:14 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Read/Data error!
Replies: 7
Views: 13758

Ohh... the compiler was looking at the remarks after Data. That would explain a lot.

Is there a way around this? I want to title my data.
by Mentat
Sat Sep 01, 2007 10:42 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Read/Data error!
Replies: 7
Views: 13758

Read/Data error!

Now, I've used data and read statements for quite some time. Now I'm getting a syntax error for my Read statement :x ! Here's my code: FOR Y% = 1 TO NUMBER% 'number is the number of cubes FOR X% = 1 TO 6 '6 sides of a cube READ C% 'read some data LET CUBES(Y, X) = C% 'store it to an array NEXT X% NE...
by Mentat
Sat Sep 01, 2007 6:56 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Source for QBasic or QuickBasic
Replies: 27
Views: 46392

Cool. CBASIC. 8)
There probably is a language already named it. :)

Edit:
THERE IS! :lol:
It's the succesor to BASIC-E or something.
If it's written in ASM or C, then why is it so slow?
by Mentat
Fri Aug 31, 2007 5:53 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Source for QBasic or QuickBasic
Replies: 27
Views: 46392

So...
What's going to compile 4.5? :D
by Mentat
Thu Aug 30, 2007 7:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Source for QBasic or QuickBasic
Replies: 27
Views: 46392

Why does Microsoft control it? Why can't they just make it freeware or whatever they call it. They aren't offering it or making a profit, so why hold it? :?
by Mentat
Wed Aug 29, 2007 4:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MY FIRST GAME!!!!!! PONG!!!!!!
Replies: 17
Views: 31193

What ever works 8) . But keep in mind, Pong isn't exactly a CPU hungry game so optimization isn't important. It's good for practice though. I don't use PUT (or anything directly linked to memory adresses) because I don't know how, but I've managed to do without such pretty well. :D
by Mentat
Tue Aug 28, 2007 4:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MY FIRST GAME!!!!!! PONG!!!!!!
Replies: 17
Views: 31193

Uh.. where you normaly print the graphics. :D It's a good idea to take advantage of modular programming. By that I mean you have work done in components of the program (subroutines) so editing and debugging is MUCH easier. Code clarity may seem tedious and unnecasary, but trust me, it pays off. :win...
by Mentat
Tue Aug 28, 2007 4:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 19063

They're fast because they use fairly simple algorithms to solve Soduko. Sudoku is easy to program because humans have more or less the same mentality of solving sudoku; do lots of tedious repetitive work to get some done, and then high end logic to get those few Key spots normall strategies don't co...
by Mentat
Tue Aug 28, 2007 6:00 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 19063

I got 1.13 E 15 which is the calculator's short hand for saying 1.13 * (10^15), which is also 1,124,899,901,000,000.