Posts: 1,272
Threads: 36
Joined: Feb 2003
<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.
Posts: 3,368
Threads: 195
Joined: Jan 2003
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.
Posts: 3,343
Threads: 83
Joined: Mar 2003
[offtopic]Yes, there is a cap on size, and he's about 1/3 of the way there
[/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.
Posts: 3,368
Threads: 195
Joined: Jan 2003
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.
Posts: 1,688
Threads: 119
Joined: Jun 2003
whoah... big... anyways, check out mallards tuts or vic's tuts.
Jumping Jahoolipers!
Posts: 358
Threads: 15
Joined: May 2003
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.
Posts: 1,813
Threads: 284
Joined: Mar 2003
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.
Posts: 3,368
Threads: 195
Joined: Jan 2003
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.
Posts: 292
Threads: 31
Joined: Apr 2003
Aga doesn't write the cleanest code, but seems good at doing stuff with it. Especially stuff that's useless but's challenging. :wink:
Posts: 394
Threads: 16
Joined: Jun 2003
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!