Code tags

Discussion in 'Software' started by iamien, Nov 27, 2003.

  1. iamien

    iamien Cptn "Eh!"

    To any and all that are posting code in the forum, you should be aware that the board suports code tags
    Code:
      if (dxabs>=dyabs) /* the line is more horizontal than vertical */
      {
        slope=(float)dy / (float)dx;
        for(i=0;i!=dx;i+=sdx)
        {
          px=i+x1;
          py=slope*i+y1;
         PutPixel(px,py,color);
        }
      }
    
    Code tags help maintain the readablity of code as well as help someone quickly scan and find the code in your post.
    you can use these by simple putting
    [code ]
    then your code
    then
    [/code ]
    only without the space between ending brackets.
     
  2. Kodo

    Kodo SNATCHSQUATCH

    code tag is very useful but can wipe out some VB code.. so I choose not to use it all the time.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds