Pagina principale
Questo è un esempio di pagina realizzata con `Dokuwiki`.
Look, I'm in a well!
a2+b2=c2
/** * Render xhtml output or metadata * * @param string $mode Renderer mode (supported modes: xhtml) * @param Doku_Renderer $renderer The renderer * @param array $data The data from the handler() function * @return bool If rendering was successful. */ public function render( $mode , Doku_Renderer & $renderer , $data ) { if ( $mode != 'xhtml' ) return false; if ( count ( $data ) != 3) { return true; } list( $syntax , $attr , $content ) = $data ; if ( $syntax == 'sxh' ) { $title = $this ->procTitle( $attr ); $highlight = $this ->procHighlight( $attr ); } else { $renderer ->file( $content ); } return true; } |
#!/bin/bash # example of using arguments to a script echo "My first name is $1" echo "My surname is $2" echo "Total number of arguments is $#" |
/* * C# Program to Display Date in String */ using System; namespace DateAndTime { class Program { static int Main() { DateTime date = new DateTime(2013,6, 23); string strDate = date.ToString( "M" ); Console.WriteLine( "Date and Time : {0}" , date); Console.WriteLine( "Month and Date : {0}" , strDate); Console.Read(); return 0; } } } |