package de.hwh.bsp.hallowelt{ import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); trace("Hallo Welt!"); } }}
say "Hallo Welt"display dialog "Hallo Welt"
// Pin 13 has an LED connected on most Arduino boards.// give it a name:int led = 13;// the setup routine runs once when you press reset:void setup() { // initialize the digital pin as an output. pinMode(led, OUTPUT);}// the loop routine runs over and over again forever:void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second}
foo="Hallo, Welt"echo "$foo"
clsprint "Hello World in BASIC!"sleepend
bash-3.2$ lein replnREPL server started on port 59553 on host 127.0.0.1REPL-y 0.2.1Clojure 1.5.1 Docs: (doc function-name-here) (find-doc "part-of-name-here") Source: (source function-name-here) Javadoc: (javadoc java-object-or-class-here) Exit: Control+D or (exit) or (quit) Results: Stored in vars *1, *2, *3, an exception in *euser=> (prn "Hello World")"Hello World"niluser=> (println "Hello World")Hello Worldniluser=> (pr-str "Hello World")"\"Hello World\""
> cmake --build .Scanning dependencies of target prog[ 50%] Building CXX object CMakeFiles/prog.dir/main.cpp.obj[100%] Linking CXX executable prog.exe[100%] Built target prog> ./prog.exeHello CMake!
coffee> console.log "Hello World!"
#include <iostream>using namespace std;int main() { cout << "Hallo, Welt!" << std::endl; return 0;}
using System; namespace HelloWorldApp { class Geeks { static void Main(string[] args) Console.WriteLine("Hello World!"); Console.ReadKey(); } } }
<style type="text/css">h1 { color: DeepSkyBlue;}</style><h1>Hello, world!</h1>
void main() { print('Hello, World!');}
Label1.Caption := 'Hello world';
# module_name.exdefmodule ModuleName do def hello do IO.puts "Hello World" endend
module HelloWorld exposing (..)import Html exposing (text)main = text "Hello, World!"
% module_name.erl-module(module_name). % you may use some other name-compile(export_all).hello() -> io:format("~s~n", ["Hello world!"]).
Sub helloWorld() MsgBox ("Hello World!") End Sub Sub helloWorldInZelle() Sheets("Tabelle1").Select Cells(1, 1).Value = "Hello World!" End Sub
open System[<EntryPoint>]let main argv = printfn "Hello World" Console.ReadLine() |> ignore 0
package mainimport "fmt"func main() { fmt.Println("hello world")}
println 'Hello Groovy-World!'
Prelude> putStrLn "Hello World"Hello World
class Main { static public function main():Void { trace("Hello World"); }}
public class HelloWorld { public static void main (String[] args) { // Ausgabe Hello World! System.out.println("Hello World!"); }}
<script> alert( 'Hello, world!' ); </script>
<!DOCTYPE html><html> <head> <title>Test Javascript</title> <script type="text/javascript"> let hello_world = {"Hello":"World"}; alert(hello_world.Hello); </script> </head> <body> <h2>JSON Hello World</h2> <p>This is a test program to alert Hello world!</p> </body></html>
println("hello world")#> hello world
fun main(args: Array<String>) { println("Hello World!")}
Man kann auch ganz andere Geräte (Ha, der erste richtige Umlaut außerEsszett!) referenzieren, zum Beispiel die fundamentale Gleichung Nummer\ref{Gleichung}.\begin{equation}\label{Gleichung} \int^{\infty}_{-\infty} e^{-x^{2}}dx = \sqrt{\pi} \end{equation}
(defun f(x) (/ (+ (* x x) 3) (- a x)))
#!/usr/local/bin/lua-- Lua Code für die Ausführung
Dieses \textbf{Wort} ist fett.
bar(b)xlabel('Sample #')ylabel('Pounds')
output = [object methodWithOutput];output = [object methodWithInputAndOutput:input];
# let square x = x * x;;val square : int -> int = <fun># square 3;;- : int = 9# let rec fact x = if x <= 1 then 1 else x * fact (x - 1);;val fact : int -> int = <fun># fact 5;;- : int = 120# square 120;;- : int = 14400
cd ../php-x.x.x./configure --enable-fpm --with-mysqlimakesudo make install
{{Beispiel|zeige=Beispiel:Beispiel.txt|{{BeispielCode|…}}}}
laenge_zoll = input("Bitte Länge in Zoll eingeben:")laenge_cm = laenge_zoll * 2.54print "Ergebnis:", laenge_cm , "Zentimeter"
some_list.each do |item| # Wir sind im Innern des Blocks # und arbeiten mit item.end
cat << EOF > ./rust-tutorial.rsfn main() { println!("Hello, World!");}EOF
> scala -classpath . HalloWeltHallo, Welt!
(define a-number 42) (define square (lambda (x) (* x x)))
char shellcode[] ="\xeb\x2a\x5e\x89\x76\x08\xc6\x46\x07\x00\xc7\x46\x0c\x00\x00\x00""\x00\xb8\x0b\x00\x00\x00\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80""\xb8\x01\x00\x00\x00\xbb\x00\x00\x00\x00\xcd\x80\xe8\xd1\xff\xff""\xff\x2f\x62\x69\x6e\x2f\x73\x68\x00\x89\xec\x5d\xc3";
CREATE TABLE <Tabellenname> ( <Spaltenname> <Datentyp> [ NOT NULL ] , ....., <Spaltenname> <Datentyp>) ;
println("Hello, world!")
const user = { name: "Hayes", id: 0,};
' Mehrfach genutzte Prozedur Private Sub AlleSehen() ' Ausnahmebehandlung bei Zugriffsproblem Try ' Verbindung öffnen con.Open() ' SQL-Befehl zum Abruf aller Daten erstellen cmd.CommandText = "SELECT * FROM personen" ' Aufruf einer Prozedur zur Ausgabe Ausgabe() Catch ex As Exception MessageBox.Show(ex.Message) End Try ' Verbindung schließen con.Close() End Sub
Dim ObjShellDim ShellObjectSet ShellObject = CreateObject("WScript.Shell")Set ObjShell = ShellObject.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Test")If ObjShell = "" then ShellObject.Popup "Wert existiert nicht und wird hinzugefügt","4","" ShellObject.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "C:\test.vbs"else ShellObject.Popup "Wert existiert","3",""end if
<SCRIPT LANGUAGE="VBScript"><!--Function KannLiefern(Dt)KannLiefern = (CDate(Dt) - Now()) > 2End Function--></SCRIPT>
<?xml version="1.0" encoding="ISO-8859-1"?><bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category="children"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book category="web"> <title lang="en">Learning XML</title> <author>Erik T. Ray</author> <year>2003</year> <price>39.95</price> </book></bookstore>
database_driver: pdo_pgsqldatabase_host: localhostdatabase_port: 5432database_name: mapbenderdatabase_path: ~database_user: postgresdatabase_password: geheim