Author Topic: Something stupid  (Read 25433 times)

Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
Something stupid
« on: 2001-12-12 15:27:00 »
Well, I see a hand full of topics including the word 'stupid'.
So I simply decided to post something stupid in here, too.




 - Alhexx

eerrrr

  • *
  • Posts: 1020
    • View Profile
Something stupid
« Reply #1 on: 2001-12-12 15:55:00 »
You know what? Looking at that makes me proud. :grin:
Why? Because I could do something like that too! I started Delphi and can do sh*tty little things like that now. I got VC++ 5 Prof. too ,but I haven't started that yet. Shame I never will too, I got bored of Delphi ages ago! I didnt even get pass day one of my tutorial! :oops:

dagsverre

  • *
  • Posts: 323
    • View Profile
    • http://ffsf.cjb.net
Something stupid
« Reply #2 on: 2001-12-12 20:33:00 »
So, you could do that? Hmm..I'm curious. How exactly would you implement TForm.EndGalaxyButtonClick(Sender: TObject)?

:wink:

Darkness

  • *
  • Posts: 2181
    • View Profile
    • http://www.x0r.net
Something stupid
« Reply #3 on: 2001-12-12 20:58:00 »
then theres always VB:

Private Sub Death_Click()
galaxy1.explode = True
End Sub

Private Sub Live_Click()
galaxy1.explode = False
End Sub

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Something stupid
« Reply #4 on: 2001-12-12 23:59:00 »
Dag: Well, this is Delphi remember - I'm sure someone's written a native component to do just that. TGalaxyEnder or something. Install it into your component palette.

Joey

  • *
  • Posts: 1095
    • View Profile
Something stupid
« Reply #5 on: 2001-12-13 00:01:00 »
You'll probally get the message "Run Time Error: Object undefined" message.

How about something more drastic with the same button that will scare any computer newbies to death in VB

Private sub command1_click()
msgbox = "Congratulations! You've just activated a virus that will blow up the galaxy!!"
End Sub

Now that's funny if a computer newbie clicks it

YOU HAVE XP! WAAAAH!  :cry:
My parents are planning to force me to use Win98 for eternity :weep: :sad:.

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Something stupid
« Reply #6 on: 2001-12-13 00:05:00 »
Somehow I doubt that - after all, your method doesn't do anything either, not even display a comical message...

Joey

  • *
  • Posts: 1095
    • View Profile
Something stupid
« Reply #7 on: 2001-12-13 00:21:00 »
Just launch VB and try it.

What it does: Displays a message.

Fice: VB stands for Visual Basic. And I'm good at it.

Darkness

  • *
  • Posts: 2181
    • View Profile
    • http://www.x0r.net
Something stupid
« Reply #8 on: 2001-12-13 00:30:00 »
yes, yes. im sure he knows. i wouldnt have a runtime error if i had an object called galaxy with a property called explode.

Joey

  • *
  • Posts: 1095
    • View Profile
Something stupid
« Reply #9 on: 2001-12-13 00:41:00 »
How do you do that? Is it by creating the galaxy object?

Darkness

  • *
  • Posts: 2181
    • View Profile
    • http://www.x0r.net
Something stupid
« Reply #10 on: 2001-12-13 01:05:00 »
yes, bu youd hve to create the galaxy object yourself and explode would have to be boolean.

Joey

  • *
  • Posts: 1095
    • View Profile
Something stupid
« Reply #11 on: 2001-12-13 04:05:00 »
Internet Explorer Bug Crap




What callee? What dissapeared?  
[edited] 39 2001-12-13 05:07

Joey

  • *
  • Posts: 1095
    • View Profile
Something stupid
« Reply #12 on: 2001-12-13 04:21:00 »
Fice: The code that I said earlier results into this.

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Something stupid
« Reply #13 on: 2001-12-13 12:18:00 »
My god. The latest versions are VB really are *crap*. That shouldn't have done anything in a programming language...

dagsverre

  • *
  • Posts: 323
    • View Profile
    • http://ffsf.cjb.net
Something stupid
« Reply #14 on: 2001-12-13 19:06:00 »
My eyes! MY EYES!!! What was that up there?

If "message" must be an implicit variable, much like "result" in Delphi...so that only the last assignment to message in the function is shown, and not until the function exits...then *perhaps* it could pass as a "good-intention-that-failed" thing. I fear that that is not the case though, in which case it's the stupidest syntax I've seen until now.

On the positive side, more features like this means the gap between VB-programmers and us grows bigger for every day. Making me even more lucky I'm on the right side of that gap.

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Something stupid
« Reply #15 on: 2001-12-13 19:48:00 »
 :lol:

It really is amazing what you can with VB, isn't it. You know you're onto a bad thing when even JavaScript has better syntax than you do  :laugh:

Darkness

  • *
  • Posts: 2181
    • View Profile
    • http://www.x0r.net
Something stupid
« Reply #16 on: 2001-12-13 20:43:00 »
ohhhh burn, bill, burn :smile: im slowly moving into c++, need to learn more libraries (currently i know iostream and those related, and the fprint command of stdio :smile:)

PurpleSmurf

  • *
  • Posts: 763
    • View Profile
Something stupid
« Reply #17 on: 2001-12-13 20:48:00 »
the sad thing is javascript does have better syntax than VB though vb is more powerful and has better variable handeling.... if any of you are still in school, like me, and have foolproof on your cpu's i have a great little proggie that removes it. just im me of email me. do something. and darkness is right for the galaxy_explode thing you either call it up like this :

call galaxy_explode

or you can make a "variable" that relates only to that object as things like text1.(command) arn't exclusive. essentialy you could make a text1.x = y and you could save room in the program by not have to declare public/global variable's. and don't whine about not being able to use the variable in other forms. just use:

x=formx.text1.x

and viola you have it again. nifty little trick :smile:

PurpleSmurf

  • *
  • Posts: 763
    • View Profile
Something stupid
« Reply #18 on: 2001-12-13 20:50:00 »
anyone here into python? i'm trying to learn it but i'm having trouble with the input command.... it always errors on me  :cry:

Darkness

  • *
  • Posts: 2181
    • View Profile
    • http://www.x0r.net
Something stupid
« Reply #19 on: 2001-12-13 20:51:00 »
too bad you cant really compare javascript to vb. the closest things you can really compare are vbScript and Javascript, of which i prefer javascript. If you didnt mean that, you were probably meaning Visual basic is better than Java. And for that statement, no only would every programmer in the world disagree, but some would flog you.

BTW: Im just giving you a hard time (i know this guy)

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Something stupid
« Reply #20 on: 2001-12-13 21:28:00 »
Actually, you can compare them to the extent that "they're both programming languages" and then go on to say "Javascript has better (more consistent with itself and programming in general...) syntax". Which is what I was saying before.

The SaiNt

  • *
  • Posts: 1300
    • View Profile
Something stupid
« Reply #21 on: 2001-12-14 00:33:00 »
Quote

On 2001-12-13 15:06, dagsverre wrote:
My eyes! MY EYES!!! What was that up there?

If "message" must be an implicit variable, much like "result" in Delphi...so that only the last assignment to message in the function is shown, and not until the function exits...then *perhaps* it could pass as a "good-intention-that-failed" thing. I fear that that is not the case though, in which case it's the stupidest syntax I've seen until now.

Honestly, Dag, there's a whole lot more of ridiculous syntax in VB.
When I first started taking lessons for it, (It's a core I had to take for my Pre-U) I was like "Huh? That doesn't seem quite right. That seems to go against standard logic."
And all my lecturer told me was "It's VB, what do you expect?"

PurpleSmurf

  • *
  • Posts: 763
    • View Profile
Something stupid
« Reply #22 on: 2001-12-14 02:48:00 »
well i'm not one for java so i guess i would be flogged. vb is the first "real" programming language i learned. the first was qbasic and the casio and TI calculator languages. i guess i'm just full of usless info. oh well chaney is still too old.

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Something stupid
« Reply #23 on: 2001-12-14 12:18:00 »
[HACK cough] You call VB a REAL programming language? Save me from this heresy!  :evil:

dagsverre

  • *
  • Posts: 323
    • View Profile
    • http://ffsf.cjb.net
Something stupid
« Reply #24 on: 2001-12-14 13:02:00 »
Yeah, exactly how is VB a more real language than Casio and TI languages? Technically they're the same, interpreted script languages designed for doing a limited number of things (performing numerical calculations vs. boosting script kiddie self-images), though one might argue that the Casio and TI languages are more logically constructed than VB.

(I'm beating a dead horse here though, this will be my last I think)