Hello World
helloworld
Hello World!
HelloWorld.ABAP
REPORT zhelloworld
* Write hello world to screen
WRITE 'Hello World'.
* Display hello world message.
MESSAGE 'Hello World' TYPE 'I'.
HelloWorld.asm
.model small
.data
msg db 10d,13d,"Hello World$"
.code
mov ax,@data
mov ds,ax
lea dx,msg
mov ah,09h
int 21h
mov ah,4ch
int 21h
end
HelloWorld.au3
MsgBox(0, "Say Hi", "Hello World")
HelloWorld.bas
10 PRINT "Hello, World!"
20 END
HelloWorld.bat
@echo off
echo Hello World
HelloWorld.bf
-[------->+<]>-.-[->+++++<]>++.+++++++..+++.[--->+<]>-----.---[->+++<]>.-[--->+<]>---.+++.------.--------.
HelloWorld.c
#include<stdio.h>
int main(void)
{
printf("Hello, world!");
return 0;
}
HelloWorld.cl
class Main{
i : IO <- new IO;
main() :Int { { i.out_string("Hello World"); 1; } };
};
HelloWorld.cljx
(println "Hello world!")
HelloWorld.cob
IDENTIFICATION DIVISION.
PROGRAM-ID. HelloWorld.
*AUTHOR Manuel Coppotelli (manuelcoppotelli)
PROCEDURE DIVISION.
DISPLAY "Hello World!".
STOP RUN.
HelloWorld.coffee
alert "Hello, World!"
HelloWorld.cpp
#include <iostream>
using namespace std;
int main()
{
cout <<"\nHello World"<< endl;
return 0;
}
HelloWorld.cr
class Greeter
def initialize(@name : String )
end
def salute
puts "Hello #{@name}!"
end
end
g = Greeter.new("world")
g.salute
HelloWorld.cs
using System;
namespace helloWorld
{
class HelloWorld
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
HelloWorld.d
import std.stdio;
void main()
{
writeln("Hello World");
}
HelloWorld.dart
void main() {
print('hello world');
}
HelloWorld.delphi
procedure TForm1.ShowAMessage;
begin
ShowMessage('Hello World!');
end;
helloworld.emojic
🐇 🐼 🍇
🐇🐖 🏁 ➡️ 🚂 🍇
😀 🔤Hello world!🔤
🍎 0
🍉
🍉
HelloWorld.erl
% hello world program
-module(helloworld).
-export([start/0]).
start() ->
io:fwrite("Hello, world!\n").
HelloWorld.exs
# elixir HelloWorld.exs
IO.puts "Hello World!"
HelloWorld.go
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello World")
}
HelloWorld.groovy
class HelloWorld {
static void main(String[] args) {
println('Hello World');
}
}
HelloWorld.hs
main = putStrLn "Hello, World!"
HelloWorld.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Hello World!</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
HelloWorld.i
DO ,1 <- #13
PLEASE DO ,1 SUB #1 <- #238
DO ,1 SUB #2 <- #108
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #194
DO ,1 SUB #7 <- #48
PLEASE DO ,1 SUB #8 <- #22
DO ,1 SUB #9 <- #248
DO ,1 SUB #10 <- #168
DO ,1 SUB #11 <- #24
DO ,1 SUB #12 <- #16
DO ,1 SUB #13 <- #162
PLEASE READ OUT ,1
PLEASE GIVE UP
HelloWorld.java
class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello World!!");
}
}
HelloWorld.jl
println("hello world")
HelloWorld.jrl
function main() = {
printLine("Hello World");
}
HelloWorld.js
console.log("Hello World");
HelloWorld.kt
fun main(args : Array<String>) {
println("Hello, World!")
}
HelloWorld.lisp
(print "Hello World!")
HelloWorld.lua
print("Hello World")
HelloWorld.ml
print_string "Hello world";;
HelloWorld.nim
echo "Hello World"
HelloWorld.p6
say 'Hello World!';
HelloWorld.pas
//FPC 2.6.2
program Helloworld;
begin
writeln('hello,world!');
end.
HelloWorld.php
<?php
// In PHP, we use echo to print text
echo "Hello World";
// If you want to print in browser's console, we use print_r
print_r("Hello World");
// if you want the variable data types as well use var_dump
$stringVar = 'hello world';
var_dump($stringVar);
?>
HelloWorld.pl
#!/usr/bin/perl
print "Hello World";
HelloWorld.pro
message('Hello World!')
HelloWorld.ps
(Hello world!\n) print quit
HelloWorld.ps1
Write-Host 'Hello, World'
HelloWorld.py
print('Hello World')
HelloWorld.r
variable <- "Hello World"
print (variable)
HelloWorld.rb
puts 'Hello World'
HelloWorld.rs
fn main(){
println!("Hello World!")
}
HelloWorld.scala
object HelloWorld extends App {
println("Hello, World!")
}
HelloWorld.sh
echo "Hello World"
HelloWorld.sml
print "Hello world!\n";
HelloWorld.sol
pragma solidity ^0.4.22;
contract helloWorld {
function renderHelloWorld () public pure returns (string) {
return 'helloWorld';
}
}
HelloWorld.spl
The Infamous Hello World Program.
Romeo, a young man with a remarkable patience.
Juliet, a likewise young woman of remarkable grace.
Ophelia, a remarkable woman much in dispute with Hamlet.
Hamlet, the flatterer of Andersen Insulting A/S.
Act I: Hamlet's insults and flattery.
Scene I: The insulting of Romeo.
[Enter Hamlet and Romeo]
Hamlet:
You lying stupid fatherless big smelly half-witted coward!
You are as stupid as the difference between a handsome rich brave
hero and thyself! Speak your mind!
You are as brave as the sum of your fat little stuffed misused dusty
old rotten codpiece and a beautiful fair warm peaceful sunny summer's
day. You are as healthy as the difference between the sum of the
sweetest reddest rose and my father and yourself! Speak your mind!
You are as cowardly as the sum of yourself and the difference
between a big mighty proud kingdom and a horse. Speak your mind.
Speak your mind!
[Exit Romeo]
Scene II: The praising of Juliet.
[Enter Juliet]
Hamlet:
Thou art as sweet as the sum of the sum of Romeo and his horse and his
black cat! Speak thy mind!
[Exit Juliet]
Scene III: The praising of Ophelia.
[Enter Ophelia]
Hamlet:
Thou art as lovely as the product of a large rural town and my amazing
bottomless embroidered purse. Speak thy mind!
Thou art as loving as the product of the bluest clearest sweetest sky
and the sum of a squirrel and a white horse. Thou art as beautiful as
the difference between Juliet and thyself. Speak thy mind!
[Exeunt Ophelia and Hamlet]
Act II: Behind Hamlet's back.
Scene I: Romeo and Juliet's conversation.
[Enter Romeo and Juliet]
Romeo:
Speak your mind. You are as worried as the sum of yourself and the
difference between my small smooth hamster and my nose. Speak your
mind!
Juliet:
Speak YOUR mind! You are as bad as Hamlet! You are as small as the
difference between the square of the difference between my little pony
and your big hairy hound and the cube of your sorry little
codpiece. Speak your mind!
[Exit Romeo]
Scene II: Juliet and Ophelia's conversation.
[Enter Ophelia]
Juliet:
Thou art as good as the quotient between Romeo and the sum of a small
furry animal and a leech. Speak your mind!
Ophelia:
Thou art as disgusting as the quotient between Romeo and twice the
difference between a mistletoe and an oozing infected blister! Speak
your mind!
[Exeunt]
HelloWorld.sql
SELECT 'Hello World';
PRINT 'Hello World';
HelloWorld.swift
print("Hello World!")
HelloWorld.tcl
puts "Hello World!"
HelloWorld.ts
console.log("Hello World!");
HelloWorld.vb
Module HelloWorld
Sub Main( )
System.Console.WriteLine("Hello world!")
End Sub
End Module
HelloWorld.ws
HelloWorld(F#).f
//F# Compiler for F# 4.1
open System
printfn "Hello, World!"
HelloWorld(Fortran).f
PRINT *, "Hello World!"
END
HelloWorld(Objective-C).m
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
NSLog(@"Hello World!");
}
return 0;
}
HelloWorld1.cl
class Main{
main() :Object { (new IO).out_string("Hello World") };
};
HellowWorld(MATLAB).m
fprintf ( 1, 'Hello, world!' );
quit
发表评论