Example: barber

Hello, world! - Lehmanns.de

hello , world ! * ABAP: " hello , world !" * ABAP // Dylan: " hello , world !" Dylan @ECHO OFF MS-DOS Batch REPORT HELLO_WORLD. define method hello - world () REM DOS batch: " hello , world !". WRITE ' hello , world !'. format-out(" hello , world !\n"); ECHO hello , world ! end method hello - world ;. hello - world ();. -- Ada: " hello , world !" Ada ; Mumps-M: " hello , world !" Mumps-M. with ; use ; w !," hello , world !". procedure hello is // ECMAS cript/JavaScript: " hello , world !" ECMA/JavaScript begin alert(' hello , world !');. Put_Line (" hello , world !"); (* Oberon: " hello , world !" *) Oberon end hello ; MODULE Helloworld;. indexing Eiffel IMPORT Write;. description: "Eiffel: hello , world !" BEGIN.

Hello, world! * dBase IV: "Hello, world!"? "Hello, world!" dBase -- Ada: "Hello, world!" with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin

Tags:

  World, Hello

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Hello, world! - Lehmanns.de

1 hello , world ! * ABAP: " hello , world !" * ABAP // Dylan: " hello , world !" Dylan @ECHO OFF MS-DOS Batch REPORT HELLO_WORLD. define method hello - world () REM DOS batch: " hello , world !". WRITE ' hello , world !'. format-out(" hello , world !\n"); ECHO hello , world ! end method hello - world ;. hello - world ();. -- Ada: " hello , world !" Ada ; Mumps-M: " hello , world !" Mumps-M. with ; use ; w !," hello , world !". procedure hello is // ECMAS cript/JavaScript: " hello , world !" ECMA/JavaScript begin alert(' hello , world !');. Put_Line (" hello , world !"); (* Oberon: " hello , world !" *) Oberon end hello ; MODULE Helloworld;. indexing Eiffel IMPORT Write;. description: "Eiffel: hello , world !" BEGIN.

2 hello : 'BEGIN' ALGOL class hello (" hello , world !");. 'COMMENT' CDC ALGOL 60: " hello , world !" ; creation END Helloworld. OUTSTRING(1, ' hello , world !') run 'END' hello feature run is program HelloWorld(output); Pascal do (* Pascal: hello , world ! *). <!-- Ant: " hello , world !" --> Ant print(" hello , world !%N"); begin <project name=" hello " default=" hello "> end -- run WriteLn(' hello , world !');. <target name=" hello " description="Greeting"> end -- hello end. <echo message=" hello , world !"/>. </target>. </project> %% Erlang: " hello , world !" Erlang # Perl: " hello , world !" Perl -module( hello ). print " hello , world !\n";. -export([ hello /0]). X APL: hello , world ! APL. Y- ' hello , world !

3 ' hello () -> <?php // PHP: " hello , world !" PHP. io:format(" hello , world !~n", []). echo "<html> <body>"." hello , world !"."</body> </html>"; ?>. -- AppleScript: " hello , world !" AppleScript display dialog " hello , world !" \ Gforth: " hello , world !" Forth /* PL/1: " hello , world !" */ PL/1. s" world !" s" hello , " hello : procedure options(main);. type type CR put skip list(' hello , world !');. <% @ Language="VBScript" %> ASP bye end hello ;. <% 'ASP: " hello , world !". ("<html> <body> hello , world !</body> </html>") %>. C Fortran: hello , world ! Fortran (V0[:sig]) => R0 Plankalk l PROGRAM HALLO (V0[:m x sig]) => R0. ; NASM Intel 8086 Assembler (DOS): " hello , world !" Assembler WRITE (*,100) 0 => i | m + 1 => j org 100h STOP [W [ i < j -> [ (V0[i: m x sig]) => R0 | i + 1 => i ] ] ].

4 Start: 100 FORMAT (' hello , world !') END. MOV AH,09h END () => R0. LEA DX,[msg] 'H';'e';'l';'l';'o';',';' ';'w';'o';'r';'l';'d';'!' => Z0[: m x sig]. INT 21h (Z0) => R0. MOV AX,4C00h // Groovy: " hello , world !" Groovy END. INT 21h println " hello , world !". msg: DB ' hello , world !$'. % PostScript: " hello , world !" PostScript -- Haskell: " hello , world !" Haskell /Courier findfont 24 scalefont setfont # awk: " hello , world !" awk main :: IO () 100 100 moveto ( hello , world !) show showpage BEGIN { print " hello , world !" } main = putStrLn " hello , world !". # PowerShell: " hello , world !" PowerShell /* A TUTORIAL INTRODUCTION TO THE LANGUAGE B B h hello Write-Host " hello , world !".

5 B. W. Kernighan Bell Laboratories, New Jersey, January 1973 - first documented " hello , world !" */. CO HPGL: " hello , world !"; HPGL % Prolog: " hello , world !" Prolog main( ) { IN0; ?- write(' hello , world !') , nl . extrn a, b, c; PA0,0;. putchar (a); putchar (b); putchar (c); putchar ('!*n'); PR1000,1000;. } SP1; # Python: " hello , world !" Python a 'hell' ; PD; print " hello , world !". b 'o, w' ; DT!;. c 'orld' ; LBHello world !;. PU; /* REXX: " hello , world !" */ REXX. PA 0,0; say ' hello , world !'. # Bash: " hello , world !" Bash SP0; exit echo hello , world ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML "> HTML # Ruby: " hello , world !" Ruby 10 REM BASIC: " hello , world !" BASIC <!-- HTML: " hello , world !

6 " --> puts " hello , world !". 20 PRINT " hello , world !" <html> <head> <title>Greeting</title>. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">. </head> <body> <p> hello , world !</p> </body> </html> ;;; Scheme: " hello , world !" Scheme Brainfuck: "HelloKOMMA world !" [-]++++++++++[>++++++ Brainfuck (define h(lambda()(display "\nHello, world !")(newline)()))(h). +>++++++++++>++++>+++>+<<<<<-]>++.>+.+++++++..+++.>+. +++.>++.<<++++++++.--------.+++. >>+. * INTERCAL: " hello , world !" INTERCAL. PLEASE DO ,1 <- #13 DO ,1 SUB #9 <- #168 echo s | sed -ne '1s/.*/ hello , world !/p' sed DO ,1 SUB #1 <- #238 DO ,1 SUB #10 <- #24. /BEGIN-PROCEDURE LOGGING=N BS2000 DO ,1 SUB #2 <- #112 DO ,1 SUB #11 <- #16.

7 /REMARK BS2000 (SDF): " hello , world !". /ASSIGN-SYSDTA TO-FILE=*SYSCMD. DO ,1 SUB #3 <- #112 DO ,1 SUB #12 <- #158. ' hello , world !' print. Self DO ,1 SUB #4 <- #0 DO ,1 SUB #13 <- #52. /WRITE-TEXT ' hello , world !' DO ,1 SUB #5 <- #64 DO READ OUT ,1. /SET-JOB-STEP DO ,1 SUB #6 <- #238 PLEASE GIVE UP. /ASSIGN-SYSDTA TO-FILE=*PRIMARY DO ,1 SUB #7 <- #26 ! Simula: " hello , world !" ; Simula /END-PROCEDURE DO ,1 SUB #8 <- #248 Begin OutText(" hello , world !"); OutImage;. End of program;. /* ANSI C: " hello , world !" */ C // Java: " hello , world !" Java #include < >. #include < > class HelloWorld { ' hello , world !' out. Smalltalk int main(void){ public static void main(String args[]) {.}}}

8 Puts(" hello , world !"); return EXIT_SUCCESS; (" hello , world !");. } } -- SQL: " hello , world !" SQL. TEX. } SELECT ' hello , world !' AS message;. // C#: " hello , world !" C#. using System; <!-- Java Server Pages: " hello , world !" --> JSP % TeX: " hello , world !" TEX. class HelloWorld {. public static int Main(String[] args) {. <%@ page language='java' %> TEX LATEX hello , world ! <%=" hello , world !" %> \bye (" hello , world !");. return 0;. } % LaTeX: " hello , world !" TEX LATEX .\" troff/groff: " hello , world !" troff/groff } \documentclass{article} \f(CW. \begin{document} hello , world ! hello , world ! // ISO C++: " hello , world !" C++ \end{document}. #include <iostream> <!-- Velocity: " hello , world !)

9 " --> <html> <body> Velocity int main() { #set( $foo = " hello , world !" ). std::cout << " hello , world !" << std::endl; ; Logo: " hello , world !" Logo $foo } PRINT [ hello , world !] </body> </html>. BYE. * COBOL 74: " hello , world !" COBOL Whitespace IDENTIFICATION DIVISION. B4 09 8D 16 0D 01 CD 21 B8 00 4C CD 21 48 65 6C Maschinencode PROGRAM-ID. hello . 6C 6F 2C 20 77 6F 72 6C 64 21 24. ENVIRONMENT DIVISION. MAIN SECTION. <?xml version=" "?> <!-- XML: " hello , world !" --> XML. DISPLAY " hello , world !" # make: " hello , world !" MAKE <greet> <how> hello , </how> <who> world </who> <mark>!</mark> </greet>. STOP RUN. all: @echo " hello , world !". <?xml version=" "?> <!-- XUL: " hello , world !" --> XUL.

10 ;;; Common Lisp: " hello , world !" Common Lisp <window xmlns=. (defun helloworld () (* Modula-2: " hello , world !" *) Modula-2 " ">. (print " hello , world !") MODULE HelloWorld; <label value=" hello , world !"/> </window>. )(helloworld) FROM InOut IMPORT WriteString,WriteLn;. BEGIN. WriteString(" hello , world !"); Poster-Bestellung und mehr Informationen: Impressum * dBase IV: " hello , world !" dBase WriteLn; ? " hello , world !" END HelloWorld. Redaktion: Dirk Eckel, Christoph Kaeder, Matthias Stolt (Hamburg). 10623 Berlin 12489 Berlin 79098 Freiburg 20095 Hamburg 04109 Leipzig 93053 Regensburg 89081 Ulm Portofreie Lieferung Hardenbergstr. 5 Rudower Chaussee 26 Friedrichring 25 Kurze M hren 6 Grimmaische Str.


Related search queries