Hilfe:Quelltext

Aus Das Sopra Wiki

Mit

 <source lang="sprache"> code </source> 

kann Quelltext mit Syntaxhighlighting in Texte einfef�gt werden. Seiten, die dieses Tag enthalten werden automatisch in die Kategorie [[ Code-Beispiele]]ufgenommen.


eispiel

<pre

string url = "<a href=\"" + someObj.getUrl() + "\" target=\"_blank\"&gtl;";
// single line comments
// second single line
override protected void OnLoad(EventArgs e)
{
    if(Attributes["class"] != null)
    {
        //_year.CssClass = Attributes["class"];
    }
    //  base.OnLoad(e);
}

</

rd zu:


<sourceang="csharp"> string url = "<a href=\"" + someObj.getUrl() + "\" target=\"_blank\"&gtl;"; // single line comments // second single line override protected void OnLoad(EventArgs e) {

   if(Attributes["class"] != null)
   {
       //_year.CssClass = Attributes["class"];
   }
   //  base.OnLoad(e);

} </</source>


erf�gbare Sprachen

{ass="wikitable" style="float:left" <c d<>abap</co<e>||[[:eABAP <c d<>caddcl</co<e>||[[:eAutoCAD DCL <c d<>cfm</co<e>||[[:eColdFusion <c d<>dos</co<e>||[[:eDOS batch file <c d<>gettext</co<e>||[[:eGNU internationalization (i18n) library <c d<>html4strict</co<e>||[[:eHTML <c d<>klonecpp</co<e>||Klone C++ <c d<>latex</co<e>||[[:eLaTeX <c d<>m68k</co<e>||[[:eMotorola 68000 Assembler <c d<>perl</co<e>||[[:ePerl
Co

e||Language

]]

<c d<>actionscript</co<e>||[[:eActionScript

]]

<c d<>ada</co<e>||[[:eAda

]]

<c d<>apache</co<e>||[[:eApache Log

]]

<c d<>applescript</co<e>||[[:eAppleScript

]]

<c d<>asm</co<e>||[[:eASM

]]

<c d<>asp</co<e>||[[:eActive Server Pages (ASP)

]]

<c d<>autoit</co<e>||[[:eAutoIt

]]

<c d<>bash</co<e>||[[:eBash

]]

<c d<>basic4gl</co<e>||[[:eBasic4GL

]]

<c d<>bf</co<e>||[[:eBrainfuck

]]

<c d<>blitzbasic</co<e>||[[:eBlitz BASIC

]]

<c d<>bnf</co<e>||[[:eBackus-Naur Form

]]

<c d<>c</co<e>||[[:eC

]]

<c d<>c_mac</co<e>||C (Mac)

]]

<c d<>cadlisp</co<e>||[[:eAutoLISP

]]

<c d<>cfdg</co<e>||CFDG

]]

<c d<>cil</co<e>||[[:eCommon Intermediate Language (CIL)

]]

<c d<>cobol</co<e>||[[:eCOBOL

]]

<c d<>cpp-qt</co<e>||[[:eC++ (Qt toolkit)

]]

<c d<>cpp</co<e>||[[:eC++

]]

<c d<>csharp</co<e>||[[:eC#

]]

<c d<>css</co<e>||[[:eCascading Style Sheets (CSS)

]]

<c d<>d</co<e>||[[:eD

]]

<c d<>delphi</co<e>||[[:eDelphi

]]

<c d<>diff</co<e>||[[:eDiff

]]

<c d<>div</co<e>||DIV

]]

<c d<>dot</co<e>||[[:eDOT

]]

<c d<>eiffel</co<e>||[[:eEiffel

]]

<c d<>fortran</co<e>||[[:eFortran

]]

<c d<>freebasic</co<e>||[[:eFreeBASIC

]]

<c d<>genero</co<e>||Genero

]]

<c d<>glsl</co<e>||[[:eOpenGL Shading Language (GLSL)

]]

<c d<>gml</co<e>||[[:eGame Maker Language (GML)

]]

<c d<>gnuplot</co<e>||[[:egnuplot

]]

<c d<>groovy</co<e>||[[:eGroovy

]]

<c d<>haskell</co<e>||[[:eHaskell

]]

<c d<>hq9plus</co<e>||HQ9+

]]

<c d<>idl</co<e>||[[:eUno IDL

]]

<c d<>ini</co<e>||[[:eINI

]]

<c d<>inno</co<e>||[[:eInno

]]

<c d<>intercal</co<e>||[[:eINTERCAL

]]

<c d<>io</co<e>||[[:eIo

]]

<c d<>java</co<e>||[[:eJava

]]

<c d<>java5</co<e>||[[:eJava(TM) 2 Platform Standard Edition 5.0

]]

<c d<>javascript</co<e>||[[:eJavaScript

]]

<c d<>kixtart</co<e>||[[:eKiXtart

]]

<c d<>klonec</co<e>||Klone C

]]

<c d<>lisp</co<e>||[[:eLisp

]]

<c d<>lolcode</co<e>||[[:eLOLCODE

]]

<c d<>lotusscript</co<e>||[[:eLotusScript

]]

<c d<>lua</co<e>||[[:eLua

]]

{ass="wikitable" style="float:left"

Co

e||Language

]]

<c d<>make</co<e>||[[:emake

]]

<c d<>matlab</co<e>||[[:eMATLAB M

]]

<c d<>mirc</co<e>||[[:emIRC scripting language

]]

<c d<>mxml</co<e>||[[:eMXML

]]

<c d<>mpasm</co<e>||[[:eMicrochip Assembler

]]

<c d<>mysql</co<e>||[[:eMySQL

]]

<c d<>nsis</co<e>||[[:eNullsoft Scriptable Install System (NSIS)

]]

<c d<>objc</co<e>||[[:eObjective-C

]]

<c d<>ocaml-brief</co<e>||[[:eOCaml

]]

<c d<>ocaml</co<e>||[[:eOCaml

]]

<c d<>oobas</co<e>||[[:eOpenOffice.org Basic

]]

<c d<>oracle8</co<e>||[[:eOracle 8 SQL

]]

<c d<>oracle11</co<e>||[[:eOracle 11 SQL

]]

<c d<>pascal</co<e>||[[:ePascal

]]

<c d<>per</co<e>||per

]]

<c d<>php-brief</co<e>||[[:ePHP

]]

<c d<>php</co<e>||[[:ePHP

]]

<c d<>pixelbender</co<e>||[[:ePixel Bender

]]

<c d<>plsql</co<e>||[[:ePL/SQL

]]

<c d<>povray</co<e>||[[:ePersistence of Vision Raytracer

]]

<c d<>powershell</co<e>||[[:eWindows PowerShell

]]

<c d<>progress</co<e>||[[:eOpenEdge Advanced Business Language

]]

<c d<>prolog</co<e>||[[:eProlog

]]

<c d<>providex</co<e>||[[:eProvideX

]]

<c d<>python</co<e>||[[:ePython

]]

<c d<>qbasic</co<e>||[[:eQBasic/QuickBASIC

]]

<c d<>rails</co<e>||[[:eRails

]]

<c d<>reg</co<e>||[[:eWindows Registry

]]

<c d<>robots</co<e>||[[:erobots.txt

]]

<c d<>ruby</co<e>||[[:eRuby

]]

<c d<>sas</co<e>||[[:eSAS

]]

<c d<>scala</co<e>||[[:eScala

]]

<c d<>scheme</co<e>||[[:eScheme

]]

<c d<>scilab</co<e>||[[:eScilab

]]

<c d<>sdlbasic</co<e>||[[:eSdlBasic

]]

<c d<>smalltalk</co<e>||[[:eSmalltalk

]]

<c d<>smarty</co<e>||[[:eSmarty

]]

<c d<>sql</co<e>||[[:eSQL

]]

<c d<>tcl</co<e>||[[:eTcl

]]

<c d<>teraterm</co<e>||[[:eTera Term

]]

<c d<>text</co<e>||[[:ePlain text

]]

<c d<>thinbasic</co<e>||[[:ethinBasic

]]

<c d<>tsql</co<e>||[[:eTransact-SQL

]]

<c d<>typoscript</co<e>||[[:eTypoScript

]]

<c d<>vb</co<e>||[[:eVisual Basic

]]

<c d<>vbnet</co<e>||[[:eVisual Basic .NET

]]

<c d<>verilog</co<e>||[[:eVerilog

]]

<c d<>vhdl</co<e>||[[:eVHDL

]]

<c d<>vim</co<e>||[[:eVimscript

]]

<c d<>visualfoxpro</co<e>||[[:eVisual FoxPro

]]

<c d<>visualprolog</co<e>||[[:eVisual Prolog

]]

<c d<>whitespace</co<e>||[[:eWhitespace

]]

<c d<>winbatch</co<e>||[[:eWinbatch

]]

<c d<>xml</co<e>||[[:eXML

]]

<c d<>xorg_conf</co<e>||[[:eXorg.conf

]]

<c d<>xpp</co<e>||[[:eX++

]]

<c d<>z80</co<e>||[[:eZiLOG Z80 Assembler

]]

[K gorie:Wiki-Hilfe []]agorie:Code-Beispiele