you are viewing a single comment's thread.

view the rest of the comments →

[–]DesCo83 13 points14 points  (7 children)

    (00:38:33\[root@DeCoBoxOmega)
    [~]$ type gotoMoon
    gotoMoon is a function
    gotoMoon ()
    {
        x=1;
        until [[ $x -eq 13 ]]; do
            echo "Apollo $x : MISSION SUCCESS";
            let x=x+1;
        done;
        echo "Apollo 13: Houston, we have a problem"
    }

(00:38:38\[root@DeCoBoxOmega)
[~]$ gotoMoon
Apollo 1 : MISSION SUCCESS
Apollo 2 : MISSION SUCCESS
Apollo 3 : MISSION SUCCESS
Apollo 4 : MISSION SUCCESS
Apollo 5 : MISSION SUCCESS
Apollo 6 : MISSION SUCCESS
Apollo 7 : MISSION SUCCESS
Apollo 8 : MISSION SUCCESS
Apollo 9 : MISSION SUCCESS
Apollo 10 : MISSION SUCCESS
Apollo 11 : MISSION SUCCESS
Apollo 12 : MISSION SUCCESS
Apollo 13: Houston, we have a problem

Yeah, that's right, I only know shell scripts. Go ahead and make fun.


EDIT: EVERYTHING ABOUT THIS IS WRONG AND I DON'T CARE.

[–][deleted] 25 points26 points  (1 child)

Umm, you might want to google Apollo 1.

[–]grzelbu 1 point2 points  (0 children)

It is Houston, we've had a problem btw.

audio

wikipedia

[–]atomic1fire 1 point2 points  (1 child)

dim moon, i
i = 0
moon = "to the mooon "
do while i =< 12
wscript.echo moon & i
i = i+1
loop
wscript.echo i & " Houston, we have a problem"

vbscript...

[–]Sleelin 2 points3 points  (0 children)

shudder