collapse

* Who's Online

  • Dot Guests: 11
  • Dot Hidden: 0
  • Dot Users: 4
  • Dot Users Online:

* Recent Topics/Posts

DTU by Kukki
[Today at 03:05:38 AM]


ACESII - Seat Belt Fastener System by Predator
[March 23, 2017, 05:28:14 PM]


Azul's Pit by Kukki
[March 23, 2017, 05:10:52 PM]


Rufus' Ride - Block 50 Pit Progress... by Rufus
[March 23, 2017, 03:17:33 PM]


FULL Aluminium HUDBLOCK by Kukki
[March 23, 2017, 07:40:06 AM]


F-16 fuselage by simpit
[March 22, 2017, 06:11:32 PM]


Rednecks 3D printed ICP project by Redneck
[March 22, 2017, 10:30:47 AM]


Salaxi54's pit progress by Predator
[March 21, 2017, 10:14:15 AM]


Wralex's F16 pit v2.0 by Predator
[March 21, 2017, 03:43:47 AM]


Fishbowl, Snout and support for the Hudblock by Kukki
[March 20, 2017, 04:58:16 PM]


CALIFORNIA BUSINESS TRIP - END OF APRIL by avn-tech
[March 20, 2017, 02:07:30 AM]


ICP Backplates US + NATO version by Catcher
[March 19, 2017, 02:13:46 PM]


ACESII - Kneeguards by Kukki
[March 19, 2017, 12:22:52 PM]


Spyder by Red Dog
[March 19, 2017, 08:09:50 AM]


ACESII - Seat rollers by Kukki
[March 18, 2017, 05:51:56 PM]


Faan's pit by Rufus
[March 18, 2017, 05:19:26 PM]

Author Topic: Code Highlighting  (Read 1314 times)

Offline AiRdAncE

  • Kim - was lost but then found ;)
  • Administrator
  • General
  • *****
  • Join Date: Nov 2006
  • Location: Westervoort, Netherlands
  • Posts: 4213
  • Country: nl
  • Fly till I PUKE !
  • VP Awards : Old Geezer Award: Awarded after 10 years of community service : Most Time Online Award: Awarded to those 30 members with most time on the forum : Silver Cup Award: Awarded to someone for a special achievement : Software Guru Award: Awarded to those with special software skills : Gold Medal Award: Awarded for special contributions to the community : Top Poster Award: for those 30 members with most posts : Silver Heart Award: Awarded to those showing a real heart for the community and/or it's cause : 3000+ posts Award: Awarded for achieving over 3000 posts
    • My Foundry for cast metal replica items
    • Buy me a beer
    • Awards
Code Highlighting
« on: December 04, 2014, 06:13:26 PM »
Since more and more our members are sharing code examples for Arduino's, PHCC, UCC, you name it, I figured that code highlighting would add to the forum.

The usage is simple. In your post, just enclose your code example between "code" BB tags. (use the pound # sign button on the post page).The result will look like this.

Code: [Select]
HttpCookie myCookie = new HttpCookie("MyTestCookie");
myCookie = Request.Cookies["MyTestCookie"];

// Read the cookie information and display it.
if (myCookie != null)
   Response.Write("<p>"+ myCookie.Name + "<p>"+ myCookie.Value);
else
   Response.Write("not found");

Neat, eh?  :cheerleader:
Life is what you make of it.

---------------------------------
Cast aluminum and brass replica cockpit items
www.castcrafter.com

Offline Ghost

  • General
  • ******
  • Join Date: Sep 2003
  • Location: Rheden
  • Posts: 611
  • Country: nl
  • VP Awards : Software Guru Award: Awarded to those with special software skills : Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: Code Highlighting
« Reply #1 on: December 05, 2014, 09:37:10 AM »
Like it!
Power is useless without control

Offline uri_ba

  • Col.
  • *****
  • Join Date: Jul 2013
  • Location:
  • Posts: 182
  • Country: il
  • VP Awards : Triplet Award: Awarded after 3 years of community service : Software Guru Award: Awarded to those with special software skills
    • Awards
Re: Code Highlighting
« Reply #2 on: December 05, 2014, 09:57:37 AM »
Sweet, thanks.

Offline Boltz

  • 1st.LT
  • **
  • Join Date: Oct 2014
  • Location:
  • Posts: 27
  • Country: gb
    • Boltz Software
    • Awards
Re: Code Highlighting
« Reply #3 on: December 05, 2014, 12:11:13 PM »
Nice feature!

Boltz