Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25

Thread: Hello World

  1. #16
    Join Date
    May 2005
    Location
    Eden Hills, South Australia
    Age
    63
    Posts
    87

    Default

    function weekend(action)
    % Version 0.1: Basic framework only.

    global(to_do) % Aspirational only

    if strcmp(day,'sat') & (wakeup< t(morning_tea_ind))
    Tea_process('make'); % put the kettle on
    search_forum;
    if kidswakeup % might need process for checking sleepovers, etc.
    if mood('pancakes')
    makepancakes % might need menu choice here.
    elseif check('wallet')
    go('maccers')
    end
    end
    if check(swmbo_awake)
    Tea_process('make',2)
    else
    Tea_process('make',1)
    end
    while drool(catalogue(randchoice({'LV','LN'})))
    tea_process('drink')
    end
    shed('latest_process')

    function shed(action)

    switch lower(action)
    case {'latest_process'}
    bumble_about_new = bumble_about('continue');
    case {'process_ended'}
    step = step - 1;
    takepiccies
    step = step + 2;
    takecloseuppiccies
    postforum(piccies)
    shed('new')
    case {'new'}
    to_do = sort(to_do,priorities_list);
    bumble_about('new')
    if strcmp(interrupt,'need_something')
    if strcmp(needtype,'simple') % Need process here to check/predict other needs, and prevent return trips!!
    go('Mitre10')
    else
    go('Bunnings')
    end
    end
    otherwise
    trance_mode('What am I doing here?')
    end
    if t_lunch - 90
    enquire('lunch')
    end
    % Rest of day/weekend still to do!!
    Those are my principles, and if you don't like them . . . well, I have others.

  2. #17
    Join Date
    Feb 2005
    Location
    Mackay Qld
    Age
    50
    Posts
    1,039

    Default

    Quote Originally Posted by Zed
    select
    username as geek
    ;
    So what's the 'non-human primate' equivalent of the geek then?
    Mick

    avantguardian

  3. #18
    Join Date
    Sep 2002
    Location
    Minbun, FNQ, Australia
    Age
    66
    Posts
    1

    Default

    Opps someone is stuck in a loop... or is there an echo in here?


    @echo off

    simon says @echo off
    Cliff.
    If you find a post of mine that is missing a pic that you'd like to see, let me know & I'll see if I can find a copy.

  4. #19
    Join Date
    Feb 2005
    Location
    Mackay Qld
    Age
    50
    Posts
    1,039

    Default

    I'm thinking of taking up a job with microsoft

    Mick

    avantguardian

  5. #20
    Join Date
    Oct 2001
    Location
    Melbourne
    Posts
    20

    Default

    High School/Jr.High
    ===================

    10 PRINT "HELLO WORLD"
    20 END


    First year in College
    =====================
    program Hello(input, output)
    begin
    writeln('Hello World')
    end.


    Senior year in College
    ======================
    (defun hello
    (print
    (cons 'Hello (list 'World))))


    New professional
    ================
    #include
    void main(void)
    {
    char *message[] = {"Hello ", "World"};
    int i;

    for(i = 0; i < 2; ++i)
    printf("%s", message[i]);
    printf("\n");
    }


    Seasoned professional
    =====================
    #include
    #include

    class string
    {
    private:
    int size;
    char *ptr;

    public:
    string() : size(0), ptr(new char('\0')) {}

    string(const string &s) : size(s.size)
    {
    ptr = new char[size + 1];
    strcpy(ptr, s.ptr);
    }

    ~string()
    {
    delete [] ptr;
    }

    friend ostream &operator <<(ostream &, const string &);
    string &operator=(const char *);
    };

    ostream &operator<<(ostream &stream, const string &s)
    {
    return(stream << s.ptr);
    }

    string &string:perator=(const char *chrs)
    {
    if (this != &chrs)
    {
    delete [] ptr;
    size = strlen(chrs);
    ptr = new char[size + 1];
    strcpy(ptr, chrs);
    }
    return(*this);
    }

    int main()
    {
    string str;

    str = "Hello World";
    cout << str << endl;

    return(0);
    }


    Apprentice Hacker
    ===================
    #!/usr/local/bin/perl
    $msg="Hello, world.\n";
    if ($#ARGV = 0) {
    while(defined($arg=shift(@ARGV))) {
    $outfilename = $arg;
    open(FILE, "" . $outfilename) || die "Can't write $arg:
    $!\n";
    print (FILE $msg);
    close(FILE) || die "Can't close $arg: $!\n";
    }
    } else {
    print ($msg);
    }
    1;


    Experienced Hacker
    ===================
    #include
    #define S "Hello, World\n"
    main(){exit(printf(S) == strlen(S) ? 0 : 1);}


    Seasoned Hacker
    ===================
    % cc -o a.out ~/src/misc/hw/hw.c
    % a.out


    Guru Hacker
    ===================
    % cat
    Hello, world.
    ^D


    New Manager
    ===================
    10 PRINT "HELLO WORLD"
    20 END


    Middle Manager
    ===================
    mail -s "Hello, world." bob@b12
    Bob, could you please write me a program that prints "Hello,
    world."?

    I need it by tomorrow.
    ^D


    Senior Manager
    ===================
    % zmail jim
    I need a "Hello, world." program by this afternoon.


    Chief Executive
    ===================
    % letter
    letter: Command not found.
    % mail
    To: ^X ^F ^C
    % help mail
    help: Command not found.
    % damn!
    !: Event unrecognized
    % logout

  6. #21
    Join Date
    Sep 2003
    Location
    Elimbah, QLD
    Posts
    437

    Default

    if {$nick=="Wongo" && $location=="USA"}
    then {echo "Whiiiiiiiinge" && $action=="spit dummy"}
    while ($returndate<$todaysdate)
    whine; $todaysdate++
    elif {$location=="Sinny" && $LVorder=="delivered"}
    echo "beudy"
    endif

    Rocker

  7. #22
    Join Date
    Nov 2003
    Location
    Sydney
    Age
    54
    Posts
    891

    Default

    Quote Originally Posted by Rocker
    if {$nick=="Wongo" && $location=="USA"}
    then {echo "Whiiiiiiiinge" && $action=="spit dummy"}
    while ($returndate<$todaysdate)
    whine; $todaysdate++
    elif {$location=="Sinny" && $LVorder=="delivered"}
    echo "beudy"
    endif

    Rocker
    I like that.

    Zed, try this after Friday

    Select LEFT(user_name,2), status FROM ubeaut_user WHERE rep_point < 0

    1 Do inactive
    2 Ke inactive
    3 Ze active


  8. #23
    Join Date
    Jun 1999
    Location
    Westleigh, Sydney
    Age
    78
    Posts
    1,332

    Default

    As someone once said...
    make it possible for programmers to write in English, and you will find that programmers cannot write in English
    Visit my website
    Website
    Facebook

  9. #24
    Join Date
    Nov 2003
    Location
    Sydney
    Age
    54
    Posts
    891

    Default

    Server Error in '/Hello_world' Application.
    --------------------------------------------------------------------------------


    Parser Error
    Description: An error occurred during SilentC accusing Wongo for not having a life. Please apologize immediately and modify your comment appropriately.

    Parser Error Message: Wongo does have a life and he is a nice person.

    Source Error:
    Line 1: <insult name="Wongo">Get a life</insult>
    Line 2: <xsl:stylesheet>
    Line 3: <xsl:template match="/">



    Source File: http://www.woodworkforums.ubeaut.com...882#post189882 Line: 1



  10. #25
    Join Date
    Aug 2003
    Location
    Pambula
    Age
    59
    Posts
    5,026

    Default

    Works on my machine
    "I don't practice what I preach because I'm not the kind of person I'm preaching to."

Similar Threads

  1. Proof The World is Nuts
    By DonN in forum JOKES
    Replies: 4
    Last Post: 8th July 2005, 08:54 PM
  2. What's wrong with the world today
    By silentC in forum NOTHING AT ALL TO DO WITH RENOVATION
    Replies: 33
    Last Post: 19th May 2005, 01:29 AM
  3. If the World was fair to Guys...
    By numbat in forum JOKES
    Replies: 1
    Last Post: 20th April 2005, 09:45 PM
  4. Replies: 0
    Last Post: 30th April 2001, 08:13 AM

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •