Search found 409 matches

by Mentat
Wed Sep 02, 2009 8:29 pm
Forum: General Discussion
Topic: 'Program generator of sentences random simplify
Replies: 34
Views: 21415

Either way, it's worth the price of admission. :P
by Mentat
Sat Aug 29, 2009 3:24 pm
Forum: General Discussion
Topic: Converting Wetspot to C
Replies: 10
Views: 8457

Hm. I personally would probably put the unneeded code anyways into C, then mark it for deletion after making sure the whole program works. So far as I can see, it doesn't hurt to put it in. Just in case it really was important; or if ignoring it prematurely may lead to ignoring other important code ...
by Mentat
Wed Aug 26, 2009 8:17 am
Forum: General Discussion
Topic: laptop help
Replies: 8
Views: 6792

And if you do plan to eventually take up BASIC again, I would advise sticking to a Windows XP machine, or Linux if you like it. I don't know of any free basic interpreters/compilers for Mac (Gambas maybe?). Vista can be BASIC unfriendly too, especially to the compiled ones, though not as much as Macs.
by Mentat
Sat Aug 22, 2009 7:54 am
Forum: General Discussion
Topic: laptop help
Replies: 8
Views: 6792

Ditto T'lon Nanaki. Quickly , if that's all that you want to do, then you do not want to get a Mac. Macs are very expensive, I got the cheapest one for ~$1,000. It's a very good computer, but it won't be much different from a netbook if you aren't using much of it's functionality, except for the fac...
by Mentat
Tue Aug 18, 2009 9:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Modulus
Replies: 4
Views: 5382

How do I use MOD on double-precision numbers? If you wanted to have a double modulus 5, you could do: dim myDouble as double dim answer as integer answer = cInt(myDouble) mod 5 'Casts myDouble to integer first or dim myInteger as integer dim myDouble as double dim answer as integer myInteger = myDo...
by Mentat
Tue Aug 18, 2009 9:09 pm
Forum: General Discussion
Topic: How QB Are You? quiz
Replies: 12
Views: 10717

by Mentat
Fri Jul 10, 2009 12:04 pm
Forum: News and Announcements
Topic: ERRORS POSTING!
Replies: 5
Views: 7332

So you're telling me that you're worried about putting socks on the QB express while the fora are disintegrating?

We are doomed, I tell you. Doomed.
by Mentat
Wed Jul 01, 2009 9:26 pm
Forum: News and Announcements
Topic: ABOG GAME MAKE CLUB OFFICIAL BUSINESS TONIGHT MIDNITE12:41AM
Replies: 6
Views: 7748

Who do you think you are Bill Gates? Conceided are we..
Do you mean conceited? :P

Anyways, what is this all about? The OP isn't of the, ehm, easily-readable variety.
by Mentat
Mon Jun 08, 2009 8:39 pm
Forum: Freebasic Questions & Answers
Topic: Collision Detection in FB Game
Replies: 3
Views: 8662

I'm having a little trouble following the code (specifically, what does "if r >= rmin and r <rmax>= cmin and c <= cmax then " do?). What about moving a copy of coordinates, then check collision detection? If no collision, then update the original coordinates with the updated copy, otherwise ignore t...
by Mentat
Wed Apr 22, 2009 1:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading and checking
Replies: 7
Views: 5189

izidor wrote:thx for reply but it says "C++ compilation failed"
but thx anyway
What software are you using for running your code? C++ is a whole different language.
by Mentat
Wed Apr 22, 2009 7:31 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading and checking
Replies: 7
Views: 5189

Hrm. Were you looking for this? I think you needed to load the Name$ and pass$ from the file. input "-", startplay$ if startplay$ = "start game" then input "Name: ",name$ input "Password: ",pass$ open "n001.dat" for output as #1 print #1, name$ close #1 open "p001.dat" for output as #1 print #1, pas...
by Mentat
Tue Mar 31, 2009 6:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HELP! ATTACKING COMMAS!!!!!!!!!!!!!!!!!!!!!
Replies: 11
Views: 8396

Naw, you gotta use LINE INPUT #, text$ Anytime you PRINT # to a file, just get the entire line! Ted http://www.skepticalcommunity.com/phpbb2/images/smiles/icon_hb.gif I'm an idiot. You just solve one of my problems. Thanks though. :) bongomeno: Is the cutoff occurring in the file itself (when you o...
by Mentat
Tue Mar 31, 2009 6:03 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HELP! ATTACKING COMMAS!!!!!!!!!!!!!!!!!!!!!
Replies: 11
Views: 8396

When you open a file for input, commas are treated as newline characters (although the actual input variable doesn't get the newline AFAIK), which can be a pain. However, outputting a string with a comma inside should be just fine. DIM file AS STRING DIM text AS STRING 'file name file = "test.txt" t...
by Mentat
Sat Mar 28, 2009 3:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Breaking QBasic on new laptop? (Or: Qbasic equivalent?)
Replies: 19
Views: 11643

I see spring is in the air.
by Mentat
Wed Mar 25, 2009 7:43 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Breaking QBasic on new laptop? (Or: Qbasic equivalent?)
Replies: 19
Views: 11643

Hm. What kind of laptop is this?
by Mentat
Wed Mar 25, 2009 7:17 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Breaking QBasic on new laptop? (Or: Qbasic equivalent?)
Replies: 19
Views: 11643

Does your laptop have a "function" or "fn" key?

When I used to use QB, I always saved before running. That habit started before I figured out the break thingy.
by Mentat
Sat Mar 21, 2009 3:47 pm
Forum: General Discussion
Topic: New member, new project (fluxgate compass)
Replies: 7
Views: 6964

burger2227 wrote:The following is the graphics circle statement:

Code: Select all

CIRCLE (col%, row%), radius%, colour%, radianStart, radianEnd, aspectRatio


:oops:

Sorry, that is it. I mixed up the number of start/stop and aspect ratio arguments.
by Mentat
Sat Mar 21, 2009 6:58 am
Forum: General Discussion
Topic: New member, new project (fluxgate compass)
Replies: 7
Views: 6964

Re: New member, new project (fluxgate compass)

So - a couple of Q's .... 1. is there a .doc file anywhere of the 'F1-Help' info from QB ? Or is there a way of printing this info out onto hard copy ? 2. does anyone have a 'draw a circle' routine using Cartesian co-ordinates, and where the (0,0) origin can be shifted ? 3. can anyone advise how to...
by Mentat
Wed Feb 25, 2009 8:38 am
Forum: General Discussion
Topic: Christian Programmers Club
Replies: 16
Views: 10947

bongomeno wrote:well as long as we all respect and understand eachother, its all good! :)
So long as we all agree that I'm right. :P

And no, I don't blame E.K :D
by Mentat
Tue Jan 27, 2009 6:31 pm
Forum: Freebasic Questions & Answers
Topic: FBC Compiler error
Replies: 6
Views: 11901

Re: No wonder FB sucks.

QB uses >=. FB uses -> ? That don't sound right :wink: I used it like this const packSize as integer = 5 type dog dim age as integer end type dim pack(1 to packSize) as dog dim oldest as dog ptr '... blah blah blah, do stuff with dogs' ages 'Find oldest dog in pack oldest = @pack(1) for i as intege...