Top

Comments

  (1,826)  RSS
mountaindew's
mountaindew
Comments: 1,826
 
Python Snippet:  Python 8ball script
Posted on Oct 20, 2009 7:01 pm
Not commenting doesn't make something messy, it's a simple set of if statements, pretty self-explanatory...
mountaindew
Comments: 1,826
 
.NET Snippet:  8ball in Visual basic
Posted on Oct 19, 2009 5:00 pm
You can just do Do...Loop, no real need for the x var.
mountaindew
Comments: 1,826
 
.NET Snippet:  Simple multiplication table
Posted on Oct 15, 2009 5:54 am
He was referring to his previous comment:
Quote:

Just fyi; you can use
Code:

Console.WriteLine("{0} * {1} = {2}", var, tablenum, var*tablenum)

instead of
Code:

Console.WriteLine(var & " * " & tablenum & " = " & var * tablenum & ".")

sometimes it's a little easier, your choice really though
mountaindew
Comments: 1,826
 
.NET Snippet:  Simple multiplication table
Posted on Oct 13, 2009 6:59 pm
I believe tablenum is being dimmed as a variant since you didn't specify a type, unless that's different in .NET than VB6. Looks like they should be integers too:
Code:

Dim tablenum As Integer, var As Integer

And rather than doing the Do...Loop Until 1 = 2, you can just do Do...Loop
mountaindew
Comments: 1,826
 
Java Snippet:  BreakOut Applet
Posted on Sep 4, 2009 2:30 pm
I'm not sure about drjava, but it should pretty much be the same as I did in JCreator. Make an applet project and have two files: one for the main coding (BreakOut.java) and one for the brick properties (brick.java).
mountaindew
Comments: 1,826
 
iPhone App:  Convertbot
Posted on Aug 13, 2009 11:18 am
Free for a limited time, I just picked it up.
mountaindew
Comments: 1,826
 
Image:  New iPod Theme [Cubes]
Posted on Aug 8, 2009 3:30 pm
Yea I know what you're saying, I'd do the same if I had an iPhone.
mountaindew
Comments: 1,826
 
Image:  New iPod Theme [Cubes]
Posted on Aug 8, 2009 3:17 pm
Illumine looks sweet too, I'll have to try that as well.
mountaindew
Comments: 1,826
 
Java Snippet:  Encryptor/Decryptor (Caesar Cipher)
Posted on Aug 3, 2009 6:55 pm
Quote:

ehh
if you wanna bitch about someone do it in pm ;) lol

What are you talking about?
mountaindew
Comments: 1,826
 
mIRC Snippet:  Minesweeper
Posted on Jul 27, 2009 8:51 pm
Nice job, I'm nasty at minesweeper :)

I just wish that the numbered tiles were indented in like the blank spaces, because they kind of blend in with the unclicked blocks.

Edit: I did /mines 20 m and looks like it's a little buggy



(There's some dots above the board and where I lost, the numbers were wrong.)
mountaindew
Comments: 1,826
 
Profile:  Hawkee
Posted on Jul 23, 2009 1:05 pm
mountaindew
Comments: 1,826
 
mIRC Snippet:  Anti-Poker
Posted on Jul 17, 2009 5:51 pm
Shouldn't it be
Code:

   if (($me isin $1-) && (!%antiflood)) {
mountaindew
Comments: 1,826
 
Java Snippet:  Encryptor/Decryptor (Caesar Cipher)
Posted on Jul 17, 2009 2:37 pm
Yeah that's mainly why I did it, to get some practice with Swing and the layout managers.
mountaindew
Comments: 1,826
 
Profile:  mountaindew
Posted on Jul 11, 2009 11:52 am
Alright I did that so it looks like I should be all set.
mountaindew
Comments: 1,826
 
Profile:  mountaindew
Posted on Jul 10, 2009 9:36 pm
Not really I just had an account from a while ago and thought I'd try it for the hell of it. Could you disassociate my twitter account with my Hawkee account though? I couldn't seem to do it on my own :)
mountaindew
Comments: 1,826
 
Profile:  napa182
Posted on Jul 9, 2009 10:57 am
booboo24, please ask on the forums, not someone's profile.
mountaindew
Comments: 1,826
 
mIRC Snippet:  Random FML Script
Posted on Jul 6, 2009 12:32 pm
k0ji, to the top of the on text add:
Code:

if ($sock(FML.)) sockclose $v1
mountaindew
Comments: 1,826
 
Java Snippet:  Magic 8 Ball
Posted on Jul 2, 2009 10:01 am
Code:

            System.out.print("Your question was not stated as a yes or no.\n");
            System.out.print("Try again...\n");
            System.out.print("                         ...but don't be stuipid this time....\n");

Instead of printing with a \n at the end why not just do println?
mountaindew
Comments: 1,826
 
mIRC Snippet:  Random FML
Posted on Jun 28, 2009 11:06 am
Someone should use their API and make a full blown FML script.
mountaindew
Comments: 1,826
 
mIRC Snippet:  Punch someone
Posted on Jun 26, 2009 7:35 pm
You're welcome, and:
Quote:

@Slickone: what do "." infront of timers actually do, and why name them?

If you just have "timer", you'll see the status window filling up with lines like "timer initialized" or something like that. If you do .timer you won't get any of that.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Next
Bottom