collapse

* Who's Online

  • Dot Guests: 7
  • Dot Hidden: 0
  • Dot Users: 3
  • Dot Users Online:

* Recent Topics/Posts

Old Dutch sim pilot by tiger-31
[Today at 08:46:40 AM]


Help with New MEMBER REGISTRATION by TacticalRealtor
[May 18, 2022, 01:13:08 AM]


The Viper Simmer by Taipan
[May 18, 2022, 12:14:50 AM]


Hello everyone! by JCook
[May 14, 2022, 12:56:18 PM]


DCStoF4 by Cupra
[May 10, 2022, 03:52:17 PM]


CIAO from italy! by antares190
[May 05, 2022, 12:18:45 PM]


Falcon BMS 4.36 is available! by vito_zm
[May 05, 2022, 02:51:32 AM]


G'day from Melbourne by JCook
[May 04, 2022, 01:12:13 PM]

Author Topic: Code Highlighting  (Read 7608 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