Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My program...
#11
<offtopic>BTW, does the post size cap apply after the post is compressed? Or is there no cap?</offtopic>

EDIT: After reviewing the code more carefully, I see those lines do serve a purpose. I agree with Aga in that you should use more arrays and FOR/NEXT loops. Consider using numbers for IDs instead of combinations of letters.
Reply
#12
Don't listen to seph about indentation and "don't use GOTO".

You need to use arrays.

dim a(1 to 10) as integer

a(1) = 1a: a(5) = 6: a(a(5)) = 7
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#13
[offtopic]Yes, there is a cap on size, and he's about 1/3 of the way there Smile[/offtopic]

Agamemnus: I'm a wee bit sick of you saying that GOTO is OK. It is fine for you and me and many of the people here who have a decent amount of experience in QB progging, or progging in general, but to tell an inexperienced person that they should use GOTO is just wrong.
Reply
#14
Ok, Oracle, you're right. Compromise?

Using GOTO for newbies who don't know how to use anything else is *not* OK.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#15
whoah... big... anyways, check out mallards tuts or vic's tuts.
Jumping Jahoolipers!
Reply
#16
So...what does this behomoth do???!!!???

I've been laughing for about 2 minutes...and...in my pathetic little world, I don't often have the pleasure. Thanks.

Don't take the criticism wrong. You were ambitious.

The thing is...
this code is so friggin linear that it's comical to anyone who even has an inkling of what structured programming is about.

The whole Idea of programming is to let the computer do the repetitive work...not the programmer. See this link:

http://forum.qbasicnews.com/viewtopic.php?t=1876

or this one:

http://forum.qbasicnews.com/viewtopic.php?t=3253

these are 9-line and 25-line programs. Some of them are pretty hard to follow because they are so condensed. However...this is the level of the people here. Anyway...welcome abord...always glad to have new people here.

You have done one thing right...and that's show your face here when you need advice. :bounce: There is a lot of experience and talent lurking...hopefully you will join the ranks with time.

Cheers.
Reply
#17
Quote:Don't listen to seph about indentation and "don't use GOTO".

You need to use arrays.

dim a(1 to 10) as integer

a(1) = 1a: a(5) = 6: a(a(5)) = 7

Don't listen to anything Agamemnus says...

Code:
Flexibal: look, it's a wel knwon fact aga is STUPID
Flexibal: he makes shit
Flexibal: and he thinks he's so smart
Flexibal: and he's LOUSY CODER
Flexibal: i have seen his codes

And trust me. Flexibal is a much better coder than Agamemnus... just ask anyone else in the community.
earn.
Reply
#18
Don't listen to seph. I would agree with him about GOTO if qbasic had more functionality, but GOTO still has its uses without that functionality.

BTW, who are we talking to? :roll:
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#19
Aga doesn't write the cleanest code, but seems good at doing stuff with it. Especially stuff that's useless but's challenging. :wink:
Reply
#20
Quote:So...what does this behomoth do???!!!???

I've been laughing for about 2 minutes...and...in my pathetic little world, I don't often have the pleasure. Thanks.

called it a behemoth... *snicker snicker*
ammit potato!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)