collapse

* Who's Online

  • Dot Guests: 27
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Recent Topics/Posts

DCStoF4 (Standalone version) by SharkNoir
[March 17, 2024, 03:19:25 PM]

Author Topic: Code Highlighting  (Read 11780 times)

Offline AiRdAncE

  • Kim - was lost but then found ;)
  • Administrator
  • General
  • *****
  • Join Date: Nov 2006
  • Location: Westervoort, Netherlands
  • Posts: 4015
  • 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 Gold Medal Award: Awarded for special contributions to the community Software Guru Award: Awarded to those with special software skills 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:
« Last Edit: November 15, 2019, 06:00:01 AM by Kukki »
Life is what you make of it.

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

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal