Search found 151 matches

by Mac
Mon Apr 14, 2008 10:18 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Printing array problem
Replies: 3
Views: 7432

You there?

Any chance you will thank me or ask for further info?

Let's not be an Ephemeralus

Mac
by Mac
Tue Apr 08, 2008 12:58 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Printing array problem
Replies: 3
Views: 7432

Re: Printing array problem

rexykik wrote:How can i get them to print within the same row of my column?
Put a semi-colon at the end of
PRINT sngScores(intPlayerCount, intGameCount)

Like this
PRINT sngScores(intPlayerCount, intGameCount);

Right?

Mac
by Mac
Tue Apr 01, 2008 1:11 am
Forum: QBASIC and QB64 Questions & Answers
Topic: WRITING A SIMPLE GAME PROGECT.
Replies: 16
Views: 27127

OK, I'll not do it again !!! Is it mentioned in the forum rules too somewhere ? (I might have missed something) The "no do homework" rule is universal. No forum anywhere will simply do your homework. a) You do the best you can b) You post what you did c) We give hints and answer specific ...
by Mac
Mon Mar 31, 2008 4:42 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphs and what not...
Replies: 25
Views: 32082

Ralph wrote:Here are some of the things that I find need fixing:
Nice work, you guys! Now that is how to help. I would chime in, but things are working out without me just fine.

Mac
by Mac
Sun Mar 30, 2008 3:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphs and what not...
Replies: 25
Views: 32082

Re: Homework

burger2227 wrote:We do not do homework
True, gurmeet, and don't bother going elsewhere. Nobody will
do your homework. QBasic programmers are honorable students.

Mac
by Mac
Sun Mar 23, 2008 11:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Can anyone help me finish my program
Replies: 2
Views: 6052

And to show some debugging techniques

Some debugging techniques Run the program below. It is designed to create 3 numbers rather than 5 It is designed for a max of 4 Why? Because the likelyhood of getting a duplicate is so low for 5 numbers in the range 0-49 that you can't test that case. This means someday your program will go down a p...
by Mac
Sat Mar 15, 2008 12:21 am
Forum: QBASIC and QB64 Questions & Answers
Topic: ?????
Replies: 7
Views: 17080

Re: Hmmmmmmm

Mac you both used END instead of SYSTEM too. Bad boys LOL Ted Good catch, but I had a reason: focus on how to capture key, not how to terminate a program. CLS PRINT "Press ESC to exit program, 'T' to print time" DO PRINT : PRINT "Press key: "; DO: k$ = INKEY$: LOOP WHILE k$ = &q...
by Mac
Fri Mar 14, 2008 6:08 am
Forum: QBASIC and QB64 Questions & Answers
Topic: ?????
Replies: 7
Views: 17080

k7 wrote:My way:
Yeah, in this case that is better. I would normally do that, too.

Here I was trying to show how to catch a key so it could be used for whatever, not just exit.

Mac
by Mac
Thu Mar 13, 2008 9:49 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: ?????
Replies: 7
Views: 17080

You test the key and do whatever you want

Here is an example that prompts until you
press "Q"

Code: Select all

CLS
DO
  PRINT "Press key: ";
  DO: k$ = INKEY$: LOOP WHILE k$ = ""
  PRINT k$
  IF UCASE$(k$) = "Q" THEN END
LOOP

by Mac
Wed Mar 05, 2008 6:55 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inserting Hexadecimal in a file
Replies: 11
Views: 28000

Thanks

Thanks, guys, for the explanations.

I simply don't have the time to tutor via forum questions. I provided a program that would do the required operation. I say just run the program and update the ROM

Mac
by Mac
Tue Mar 04, 2008 7:02 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Inserting Hexadecimal in a file
Replies: 11
Views: 28000

Get it?!?! Got it. Made a demo file, "z64". The demo program produced Menu - Last byte is currently 2007 1) Read hex 2) Write hex <------------ I chose this option 3) Finished Character Number? 2008 <--- I selected last+1 to append new char Value: e3 <---------------- I entered this Hex D...
by Mac
Mon Mar 03, 2008 12:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inserting Hexadecimal in a file
Replies: 11
Views: 28000

Re: Inserting Hexadecimal in a file

Lee wrote:How can I insert hex in a file?
z64 is a N64 ROM and Im making a text editor to insert code at the end of it.
I'm not sure that a ROM is a file. You can easily append HEX (or any other) stuff at the end of a file. How it would get to a ROM I am not
clear. Never messed with it.

Mac
by Mac
Mon Mar 03, 2008 5:32 am
Forum: General Discussion
Topic: Encryption and XOR
Replies: 15
Views: 31098

No reply yet

I guess the question got answered?

Mac
by Mac
Sun Mar 02, 2008 8:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Wont Work! :(
Replies: 12
Views: 18959

Re: FAQs

Here are the FAQ links Thanks. I fixed the index, but I guess it will take some time before network54 search works on that forum. I asked that the index be "refreshed", which they did. But that messed things up worse. Anyway, time to quit hijacking this thread and go work elsewhere. LOL! ...
by Mac
Sun Mar 02, 2008 10:48 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Wont Work! :(
Replies: 12
Views: 18959

burger2227 wrote:you should also have those tips on transferring QB code to a Forum. It is there, but not in the index.
Right. Have a URL or two for me? I will give them a FAQ number, etc. like others.

Mac
by Mac
Sun Mar 02, 2008 4:14 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Wont Work! :(
Replies: 12
Views: 18959

burger2227 wrote:A fellow named Galleon is currently working on a QB compiler to run on 64 bit machines. It is called QB64 naurally.
Good stuff for your FAQ, MysticShadows! Thanks, burger2227.

At least include the URL of the QB64 project forum.

Mac
by Mac
Sat Mar 01, 2008 10:34 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Wont Work! :(
Replies: 12
Views: 18959

It's notable to mention that the problem isn't vista per se. it's more of the fact that you have a 64 bit CPU in your PC...Vista on a 32 bit CPU should run QBasic as expected. Do me a favor, MystikShadows, go to http://www.network54.com/Forum/171757/ and make a FAQ with a name such as "QBasic ...
by Mac
Thu Feb 21, 2008 9:57 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 24226

Who cares?

I just wonder what coding problem you have that requires to know the length of a variable (except string) If I create a TYPE, for example, and put a bunch of variables, I never needed to need the size. QBasic worries about that. At the end, I create a record, say XXX as that TYPE. Fine, now I might ...
by Mac
Sun Feb 10, 2008 9:53 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 45948

Re: FINALLY!!!!!!!!!!!!!

burger2227 wrote:I will remember your (DaveUnit) smart ass and avoid you...........
Come on Ted, be nice!

Mac
by Mac
Sun Feb 10, 2008 9:49 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 45948

Nodtveidt wrote:I understand your intent and message.
Peace! :)

Mac