1. This forum is in read-only mode.

Code?

Discussion in 'Non-Emulation Help' started by iamlegend, Feb 14, 2007.

  1. iamlegend

    iamlegend Well-Known Member

    You know all those cool buttons right above when you're posting something?...well whats the code one for?...and the..uh teletype one...and the er...bold one...(that last one was a joke...im not that daft damn you..).Im going to try them out...hopefully nothing explodes...and i dont bring about the end of the world... :-\

    Code:
    sugarpuffs
    Code:
    abominable snowman
    ....
     
  2. Loonylion

    Loonylion Administrator Staff Member

    code is place in snippets of code in your post. Text within code tags will not have any emoticons, and may be colour coded to represent the different parts (statements, keywords, variables etc). Also, if html was enabled on this forum, you would not be able to demonstrate html code cos it would be processed by the browser. Code tags prevent this.

    Code:
    //php hello world
    <?php
    
    $msg = 'Hello';
    $msg2 = ' World';
    echo $msg . $msg2;
    ?>
    
    //basic hello world
    cls
    print "Hello World"
    
    //C++ hello world
    
    include stdio.h;
    
    void main()
    {
    cout "Hello World";
    }
    
    Teletype I think just uses a font similar to a teletype machine
     
  3. iamlegend

    iamlegend Well-Known Member

    alright...thanks...i dont think i'll ever use either of those....but thanks ::)
    Code:
    mwahahhaha...teletype