pythainlp/thai_wikipedia_clean_20230101 huggingface dataset:
.MCALL .REGDEF.TTYOUT.EXIT
.REGDEF
HELLO: MOV #MSG,R1
MOVB (R1) ,R0
LOOP: .TTYOUT
MOVB + (R1) ,R0
BNE LOOP
MSG: .ASCIZ /HELLO, WORLD!/
CISC on advanced multiprocessing OS: DEC VAX, VMS, MACRO-32.
.title hello
.psect data, wrt, noexe
chan: .blkw 1
iosb: .blkq 1
term: .ascid "SYS$OUTPUT"
msg: .ascii "Hello, world!"
.psect code, nowrt, exe
.entry hello, ^m&lt;&gt;
; Establish a channel for terminal I/O
$assign_s devnam=term, -
chan=chan
blbc r0, end
; Queue the I/O request
$qiow_s chan=chan, -
func=#io$_writevblk, -
iosb=iosb, -
p1=msg, -
p2=#len
; Check the status and the IOSB status
movzwl iosb, r0
; Return to operating system
end: ret
.end hello
RISC processor: ARM, RISC OS, BBC BASIC's in-line assembler.
.program
ADR R0,message
SWI "OS_Write0"
SWI "OS_Exit"
DCS "Hello, world!"
DCB 0
ALIGN
หรือเวอร์ชันย่อ (จาก qUE) ;
SWI"OS_WriteS":EQUS"Hello, world!":EQUB0:ALIGN:MOVPC,R14
AutoHotkey.
MsgBox, "Hello, World!"
Autoit.
MsgBox (1,",'Hello, world!')
echo Hello,\ world!
The following example works for any ANSI/ISO-compliant BASIC implementation, as well as most implementations built into or distributed with microcomputers in the 1970s and 1980s (usually some variant of Microsoft BASIC) :
Such implementations of BASIC could also execute instructions in an immediate mode when line numbers are omitted. The following examples work without requiring a RUN instruction.
Later implementations of BASIC allowed greater support for structured programming and did not require line numbers for source code. The following example works when RUN for the vast majority of modern BASICs.
Again, the "END" statement is optional in many BASICs.
PBASIC.
DEBUG "Hello, world!", CR
or, the typical microcontroller Hello World program equivalent with the only output device present being a light-emitting diode (LED) (in this case attached to the seventh output pin) :
HIGH 7 'Make the 7th pin go high (turn the LED on)
PAUSE 500 'Sleep for half a second
LOW 7 ' Make the 7th pin go low (turn the LED off)
StarOffice/OpenOffice Basic.
sub main
print "Hello, World"
end sub
TI-BASIC.
On TI calculators of the TI-80 through TI-86 range:
:Disp "HELLO, WORLD!" or
:Output (x,y,"HELLO, WORLD!") or
:Text (x,y,"HELLO, WORLD!") or
:Text (-1,x,y,"HELLO, WORLD!") ;only on the 83+ and higher
or simply
:"HELLO, WORLD!"
On TI-89/TI-92 (+) /Voyage 200 calculators:
:hellowld
:Prgm
:Disp "Hello, world!"
:EndPrgm
MsgBox "Hello World!"
System.Console.WriteLine ("Hello, world!")
or, defined differently,
Class HelloWorldApp
Shared Sub Main
Blitz BASIC.
DarkBASIC.
TEXT 0,0,"Hello World"
WAIT KEY
BCPL.
BLISS.
%TITLE 'HELLO_WORLD'
MODULE HELLO_WORLD (IDENT='V1.0', MAIN=HELLO_WORLD,
ADDRESSING_MODE (EXTERNAL=GENERAL)) =
LIBRARY 'SYS$LIBRARY:STARLET';
LIB$PUT_OUTPUT;
GLOBAL ROUTINE HELLO_WORLD =
LIB$PUT_OUTPUT (%ASCID %STRING ('Hello World!'))
"See also GUI Section".
Casio FX-9750.
This program will work on the fx-9750 graphing calculator and compatibles.
"HELLO WORLD"↵
printf("Hello, world!");
The above C code can run in Ch as examples. The simple one in Ch is:
printf ("Hello, world\n") ;
System.Console.WriteLine ("Hello, world!") ;
#include &lt;iostream&gt;
C++/CLI.
System::Console::WriteLine ("Hello, world!") ;
C++, Managed (.NET).
#using &lt;mscorlib.dll&gt;
int wmain
Console::WriteLine ("Hello, world!") ;
ColdFusion (CFM).
&lt;cfoutput&gt;Hello, world!&lt;/cfoutput&gt;
COMAL.
CIL.
.method public static void Main  cil managed
.maxstack 8
call void [mscorlib]System.Console::WriteLine (string)
Start = "Hello, world"
CLIST.
WRITE Hello, World!
Clipper.
@1,1 say "Hello World!"
writefln ("Hello, world!") ;
DC an arbitrary precision calculator.
[Hello, world!]p
DCL batch.
$ write sys$output "Hello, world!"
DOLL.
// The program is itself an object. The program "this" object can be overloaded
// as a function that work as "main" function in a C program.
system.stdout ("Hello, World!") ;
module: hello
format-out ("Hello, world!\n") ;
Ed and Ex (Ed extended).
Eiffel.
!!io
io.put_string ("%N Hello, world!")
-module (hello).
-export ([hello_world/0]).
hello_world  -&gt; io:fwrite ("Hello, world!\n").
Euphoria.
puts (1, "Hello, world!")
print_endline "Hello world"
Factor.
"Hello world" print
filePro.
@once
mesgbox "Hello, world!"
Fjölnir.
"hello" &lt; main
main -&gt;
stef (;)
stofn
skrifastreng (;"Halló Veröld!") ,
stofnlok
"GRUNNUR"
FOCAL.
type "Hello, World!",!
t "Hello, World!",!
-TYPE Hello World
Forte TOOL.
begin TOOL HelloWorld;
includes Framework;
HAS PROPERTY IsLibrary = FALSE;
forward Hello;
-- START CLASS DEFINITIONS
class Hello inherits from Framework.Object
has public method Init;
has property
shared= (allow=off, override=on) ;
transactional= (allow=off, override=on) ;
monitored= (allow=off, override=on) ;
distributed= (allow=off, override=on) ;
-- END CLASS DEFINITIONS
-- START METHOD DEFINITIONS
method Hello.Init
super.Init  ;
task.Part.LogMgr.PutLine ('HelloWorld!') ;
-- END METHOD DEFINITIONS
HAS PROPERTY
CompatibilityLevel = 0;
ProjectType = APPLICATION;
Restricted = FALSE;
MultiThreaded = TRUE;
Internal = FALSE;
LibraryName = 'hellowor';
StartingMethod = (class = Hello, method = Init) ;
: halloforth ( -- ) ." Hello, world!" CR ;
PRINT *, 'Hello, world!'
Fril.
? ((pp "Hello, world!"))
Frink.
println["Hello, world!"]
Gambas.
PUBLIC SUB Main
Game Maker.
In the draw event of some object:
draw_text (x,y,"Hello World")
Or to show a splash screen message:
show_message ("Hello World")
main = putStrLn "Hello World"
functions {
_main  {
print_string ("Hello, world!") ;
HP-41 &amp; HP-42S.
01 LBLTHELLO
02 THELLO, WORLD
03 PROMPT
HyperTalk (Apple HyperCard's scripting programming language).
put "Hello world"
Answer "Hello World"
print,"Hello world!"
print "Hello, world!^";
"Hello world!" print
write ("Hello world!\n")
Iptscrae.
ON ENTER {
"Hello, " "World!" &amp; SAY
Simplest:
Probably closest in semantics:
Jal.
include 16f877_20
include hd447804
hd44780_clear
hd44780 = "H"
hd44780 = "e"
hd44780 = "l"
hd44780 = "o"
hd44780 = " "
hd44780 = "W"
hd44780 = "r"
hd44780 = "d"
hd44780 = "!"
public class Work_name_or_tag
System.out.println ("Hello, world!") ;
Java byte-code.
public class Hello extends java.lang.Object {
public Hello  ;
public static void main (java.lang.String[]) ;
Method Hello
0 aload_0
1 invokespecial #1 &lt;Method java.lang.Object  &gt;
4 return
Method void main (java.lang.String[])
0 getstatic #2 &lt;Field java.io.PrintStream out&gt;
3 ldc #3 &lt;String "Hello, world!"&gt;
5 invokevirtual #4 &lt;Method void println (java.lang.String) &gt;
8 return
`0:"Hello world\n"
Kogut.
WriteLine "Hello, world!"
Lisp has many dialects that have appeared over its almost fifty-year history.
(write-line "Hello World!")
or merely:
Emacs Lisp.
(print "Hello World")
print [hello world!]
pr [Hello World!]
In mswlogo only
messagebox [Hi] [Hello World]
LuaPSP.
screen:print (1,1,"Hello, world!")
screen:flip
M (MUMPS).
W "Hello, world!"
Macsyma, Maxima.
print ("Hello, world!") $
Maple.
print ("Hello, World!") ;
Print["Hello World"]
disp ('Hello World')
max v2;
#N vpatcher 10 59 610 459;
#P message 33 93 63 196617 Hello world!;
#P newex 33 73 45 196617 loadbang;
#P newex 33 111 31 196617 print;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P pop;
Modula-2.
FROM Terminal2 IMPORT WriteLn; WriteString;
WriteString ("Hello, world!") ;
END Hello;
MOO.
notify (player, "Hello, world!") ;
MS-DOS batch.
" (with the standard command.com interpreter. The @ symbol is optional and prevents the system from repeating the command before executing it. The @ symbol must be omitted on versions of MS-DOS prior to 3.0.) "
MUF.
: main
me @ "Hello, world!" notify
WRITE "Hello, World!"
The easiest way to get Nemerle print "Hello, world!" would be that:
however, in bigger applications the following code would be probably more useful:
using System.Console;
module HelloWorld
Main  :void
WriteLine ("Hello, world!") ;
Oberon is both the name of a programming language and an operating system.
Program written for the Oberon operating system:
IMPORT Oberon, Texts;
VAR W: Texts.Writer;
PROCEDURE World*;
Texts.WriteString (W, "Hello World!") ;
Texts.WriteLn (W) ;
Texts.Append (Oberon.Log, W.buf)
END World;
Texts.OpenWriter (W)
Freestanding Oberon program using the standard Oakwood library:
IMPORT Out;
Out.String ("Hello World!") ;
Out.Ln
Objective C.
Functional C Version.
#import &lt;stdio.h&gt;
printf ( "Hello, World!\n" ) ;
Object-Oriented C Version.
//An object-oriented version.
const char str[] = "Hello world";
- (id) hello (void) ;
- (id) hello (void)
printf ("%s\n", str) ;
Hello *h = [Hello new];
[h hello];
[h free];
OPENSTEP/Cocoa Version.
int main (int argc, const char * argv[])
NSLog (@"Hello, World!") ;
print_endline "Hello world!"
OPL.
PROC hello:
ENDP
OPS5.
(object-class request
^action)
(startup
(strategy MEA)
(make request ^action hello)
(rule hello
(request ^action hello)
(write |Hello World!| (crlf))
OPS83.
module hello (main)
{ procedure main
write  |Hello, world!|, '\n';
Parrot assembly language.
print "Hello, world!\n"
program hello (output) ;
writeln ('Hello, world!')
say "Hello World";
echo "Hello, world!\n";
&lt;?="Hello, world!\n"?&gt;
write ("Hello, world!\n") ;
-- start anonymous block
set serveroutput on size 10000000;
dbms_output.enable (1000000) ;
dbms_output.put_line ('Hello World!') ;
-- end anonymous block
Test: proc options (main) reorder;
put skip edit ('Hello, world!') (a) ;
POP-11.
'Hello world' =&gt;
"See PDL section"
println ("Hello, world!") ;
write ('Hello, world') ,nl.
หรือใน Python 3.x
REXX, ARexx, NetRexx, and Object REXX.
RPL.
CLLCD
"Hello, world!" 1 DISP
0 WAIT
SAS.
data _null_;
put 'Hello, world!';
run;
Sather.
class HELLO_WORLD is
main is
#OUT+"Hello, world\n";
Scala (programming language).
object HelloWorld with Application {
Console.println ("Hello, world!") ;
Scriptol.
print "Hello world!"
Seed7.
writeln ("Hello, world!") ;
OutText ("Hello, world!") ;
Transcript show: 'Hello, world!'; cr
SNOBOL.
static public main: args {
Console « "Hello, world!\n";
SPARK.
with Spark_IO;
--# inherit Spark_IO;
--# main_program;
procedure Hello_World
--# global in out Spark_IO.Outputs;
--# derives Spark_IO.Outputs from Spark_IO.Outputs;
Spark_IO.Put_Line (Spark_IO.Standard_Output, "Hello, world!", 0) ;
end Hello_World;
SPITBOL.
CREATE TABLE message (text char (15)) ;
INSERT INTO message (text) VALUES ('Hello, world!') ;
or (e.g. Oracle dialect)
SELECT 'Hello, world!' FROM dual;
or (for Oracle's PL/SQL proprietary procedural language)
DBMS_OUTPUT.ENABLE (1000000) ;
DBMS_OUTPUT.PUT_LINE ('Hello World, from PL/SQL') ;
or (e.g. MySQL or PostgreSQL dialect)
SELECT 'Hello, world!';
or (e.g. T-SQL dialect)
PRINT 'Hello, world!'
or (for KB-SQL dialect)
select Null from DATA_DICTIONARY.SQL_QUERY
FOOTER "or HEADER or DETAIL or FINAL event"
write "Hello, world!"
STARLET.
RACINE: HELLO_WORLD.
NOTIONS:
HELLO_WORLD : ecrire ("Hello, world!").
TACL.
#OUTPUT Hello, world!
Tcl (Tool command language).
TSQL.
Declare @Output varchar (16)
Set @Output='Hello, world!'
Select @Output
or, simpler variations:
Select 'Hello, world!'
Print 'Hello, world!'
UNIX-style shell.
printf '%s' $'Hello, world!\n'
or for a curses interface:
dialog --msgbox 'Hello, world!' 0 0
Visual Prolog console program.
#include @"pfc\console\console.ph"
console::init  ,
stdio::write ("Hello World!").
Graphical user interfaces (GUIs).
ActionScript (Macromedia flash mx).
this.createTextField ("hello_txt",0,10,10,100,20) ;
this.hello_txt.text="Hello, world";
"See also TUI section".
Or to have the OS synthesize it and literally speak out the words "hello world!" (with no comma, as that would cause the synthesizer to pause)
say "Hello world!"
import System.Drawing
f = Form
f.Controls.Add (Label (Text: "Hello, World!", Location: Point (40,30)))
f.Controls.Add (Button (Text: "Ok", Location: Point (50, 55) , Click: {Application.Exit  }))
Application.Run (f)
Functional equivalent of C# program below.
using System.Drawing;
class HelloWorldForm : Form {
public static void Main  {
Application.Run (new HelloWorldForm ) ;
public HelloWorldForm  {
Label label = new Label  ;
label.Text = "Hello, World!";
label.Location = new Point (40,30) ;
Controls.Add (label) ;
Button button = new Button  ;
button.Text = "OK";
button.Location = new Point (50,55) ;
Controls.Add (button) ;
button.Click += new EventHandler (OnButtonOk) ;
void OnButtonOk (Object sender, EventArgs e) {
Application.Exit  ;
public class HelloWorld : Form
public HelloWorld
ShowMessage  ;
[STAThread]
Application.Run (new HelloWorld ) ;
private void ShowMessage
MessageBox.Show (
"Hello World!!!",
"Hello World - C#",
MessageBoxButtons.OK,
MessageBoxIcon.Information,
MessageBoxDefaultButton.Button1 ) ;
Cocoa or GNUStep (In Objective C).
@interface hello : NSObject {
@implementation hello
- (void) awakeFromNib
NSBeep  ; // we don't need this but it's conventional to beep
// when you show an alert
NSRunAlertPanel (@"Message from your Computer", @"Hello, world!", @"Hi!",
nil, nil) ;
Delphi, Kylix.
program Hello_World;
Windows;
ShowMessage ("Hello, world!") ;
MS-Windows only - basic.
include msgbox.e
if message_box ("Hello, world!", "Hello", 0) then end if
MS-Windows only - using Win32Lib library
include win32lib.ew
createForm ({
";Window; Hello",
";Label; Hello, World!"
include w32start.ew
FLTK2 (in C++).
#include &lt;fltk/Window.h&gt;
#include &lt;fltk/Widget.h&gt;
#include &lt;fltk/run.h&gt;
using namespace fltk;
Window *window = new Window (300, 180) ;
window-&gt;begin  ;
Widget *box = new Widget (20, 40, 260, 100, "Hello, World!") ;
box-&gt;box (UP_BOX) ;
box-&gt;labelfont (HELVETICA_BOLD_ITALIC) ;
box-&gt;labelsize (36) ;
box-&gt;labeltype (SHADOW_LABEL) ;
window-&gt;end  ;
window-&gt;show (argc, argv) ;
return run  ;
Message.Info ("Hello, world!")
GTK+ (in C++).
#include &lt;gtkmm/main.h&gt;
#include &lt;gtkmm/button.h&gt;
#include &lt;gtkmm/window.h&gt;
class HelloWorld : public Gtk::Window {
HelloWorld  ;
virtual ~HelloWorld  ;
virtual void on_button_clicked  ;
HelloWorld::HelloWorld
: m_button ("Hello, world!") {
set_border_width (10) ;
m_button.signal_clicked .connect (SigC::slot (*this,
&amp;HelloWorld::on_button_clicked)) ;
add (m_button) ;
m_button.show  ;
void HelloWorld::on_button_clicked  {
Gtk::Main kit (argc, argv) ;
HelloWorld helloworld;
Gtk::Main::run (helloworld) ;
GTK+ (in Python).
from gtk import *
window = Window (WINDOW_TOPLEVEL)
window.set_title ("Hello World!")
window.connect ("destroy", main_quit)
window.add (VBox )
window.child.pack_start (Label ("Hello World!"))
button=Button ("OK")
window.child.pack_end (button)
button.connect ("clicked", main_quit)
window.show_all
gtk.MessageDialog (message_format="Hello World!").run
Gtk# (in C#).
using GtkSharp;
Application.Init  ;
Window window = new Window ("") ;
window.DeleteEvent += cls_evn;
Button close = new Button ("Hello World") ;
close.Clicked += new EventHandler (cls_evn) ;
window.Add (close) ;
window.ShowAll  ;
Application.Run  ;
static void cls_evn (object obj, EventArgs args)
Application.Quit  ;
GTK+ 2.x (in Euphoria).
include gtk2/wrapper.e
Info (NULL,"Hello","Hello World!")
import javax.swing.JOptionPane;
public static void main (String[] args) {
JOptionPane.showMessageDialog (null, "Hello, world!!") ;
&lt;TITLE&gt;Hello World&lt;/TITLE&gt;
&lt;APPLET CODE="HelloWorld.class" WIDTH=600 HEIGHT=100&gt;
&lt;/APPLET&gt;
public void paint (Graphics g) {
g.drawString ("Hello, world!", 100, 50) ;
JavaScript and JScript.
javascript:alert ('Hello, world!') ;
javascript:document.write ('Hello, world!\n') ;
This creates a window labeled "Hello world" with a button labeled "Hello world".
hello:hello..l:"Hello world"
hello..c:`button
`show$`hello
PROC guihello:
ALERT ("Hello, world!","","Exit")
dINIT "Window Title"
dTEXT "","Hello World"
dBUTTONS "OK",13
Qt toolkit (in C++).
#include &lt;qapplication.h&gt;
#include &lt;qpushbutton.h&gt;
#include &lt;qwidget.h&gt;
class HelloWorld : public QWidget
Q_OBJECT
public slots:
void handleButtonClicked  ;
QPushButton *mPushButton;
HelloWorld::HelloWorld  :
QWidget  ,
mPushButton (new QPushButton ("Hello, World!", this))
connect (mPushButton, SIGNAL (clicked ) , this, SLOT (handleButtonClicked )) ;
void HelloWorld::handleButtonClicked
QApplication app (argc, argv) ;
HelloWorld helloWorld;
app.setMainWidget (&amp;helloWorld) ;
helloWorld.show  ;
return app.exec  ;
#include &lt;QApplication&gt;
#include &lt;QPushButton&gt;
QPushButton hello ("Hello world!") ;
hello.resize (100, 30) ;
hello.show  ;
hello.connect (&amp;hello, SIGNAL (clicked ) , SLOT (close )) ;
(On Hewlett-Packard
RTML.
TEXT "Hello, world!"
Ruby with WxWidgets.
require 'wxruby'
class HelloWorldApp &lt; Wx::App
def on_init
ourFrame = Wx::Frame.new (nil, -1, "Hello, world!").show
ourDialogBox = Wx::MessageDialog.new (ourFrame, "Hello, world!", "Information:", \
Wx::OK|Wx::ICON_INFORMATION).show_modal
HelloWorldApp.new.main_loop
Ruby with GTK+.
require 'gtk2'
Gtk.init
window = Gtk::Window.new
button = Gtk::Button.new ("Hello World")
window.add (button)
Gtk.main
SWT (in Java).
import org.eclipse.swt.layout.RowLayout;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Label;
public class SWTHello {
public static void main (String [] args) {
Display display = new Display  ;
final Shell shell = new Shell (display) ;
RowLayout layout = new RowLayout  ;
layout.justify = true;
layout.pack = true;
shell.setLayout (layout) ;
Tcl/Tk.
label .l -text "Hello, world!"
pack .l
Python with Tkinter.
r = Tkinter.Tk
w = Tkinter.Label (r, text="Hello, world!")
w.pack
r.mainloop
or, more primitively:
Visual Basic including VBA.
Visual Prolog note box.
#include @"pfc\vpi\vpi.ph"
vpiCommonDialogs::note ("Hello World!").
Windows API (in C).
This uses the Windows API to create a full window containing the text. Another example below uses the built-in MessageBox function instead.
#include &lt;windows.h&gt;
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM) ;
char szClassName[] = "MainWnd";
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
int nCmdShow)
HWND hwnd;
WNDCLASSEX wincl;
wincl.cbSize = sizeof (WNDCLASSEX) ;
wincl.cbClsExtra = 0;
wincl.cbWndExtra = 0;
wincl.style = 0;
wincl.hInstance = hInstance;
wincl.lpszClassName = szClassName;
wincl.lpszMenuName = NULL; //No menu
wincl.lpfnWndProc = WindowProcedure;
wincl.hbrBackground = (HBRUSH) (COLOR_WINDOW + 1) ; //Color of the window
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION) ; //EXE icon
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION) ; //Small program icon
wincl.hCursor = LoadCursor (NULL, IDC_ARROW) ; //Cursor
if (!RegisterClassEx (&amp;wincl))
hwnd = CreateWindowEx (0, //No extended window styles
szClassName, //Class name
"", //Window caption
WS_OVERLAPPEDWINDOW &amp; ~WS_MAXIMIZEBOX,
CW_USEDEFAULT, CW_USEDEFAULT, //Let Windows decide the left and top
//positions of the window
120, 50, //Width and height of the window,
NULL, NULL, hInstance, NULL) ;
//Make the window visible on the screen
ShowWindow (hwnd, nCmdShow) ;
//Run the message loop
while (GetMessage (&amp;msg, NULL, 0, 0) &gt;0)
TranslateMessage (&amp;msg) ;
DispatchMessage (&amp;msg) ;
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message,
WPARAM wParam, LPARAM lParam)
PAINTSTRUCT ps;
HDC hdc;
switch (message)
case WM_PAINT:
hdc = BeginPaint (hwnd, &amp;ps) ;
TextOut (hdc, 15, 3, "Hello, world!", 13) ;
EndPaint (hwnd, &amp;ps) ;
case WM_DESTROY:
PostQuitMessage (0) ;
return DefWindowProc (hwnd, message, wParam, lParam) ;
Or, much more simply:
int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
MessageBox (NULL, "Hello, world!", "", MB_OK) ;
Windows Script Host with VBScript.
&lt;job id="HelloWorld"&gt;
WScript.Echo "Hello, world!"
&lt;/job&gt;
Windows Script Host with JScript.
&lt;script language="JScript"&gt;
WScript.Echo ( "Hello, world!" ) ;
XSL (T).
There are many ways to do this in XSL, the simplest being:
&lt;xsl:template match="/"&gt;
&lt;xsl:text&gt;Hello, world!&lt;/xsl:text&gt;
If nested similar to the HTML version, it would be:
&lt;h1&gt;Hello, world!&lt;/h1&gt;
XUL.
Type the following in a text file (e.g. hello.world.xul) and then open with Mozilla Firefox.
&lt;window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;
&lt;box align="center" pack="center" flex="1"&gt;
&lt;description&gt;Hello, world&lt;/description&gt;
&lt;/box&gt;
Esoteric programming languages.
"See: Hello world program in esoteric languages"
Document formats.
The following sequence of characters, expressed in hexadecimal notation (with carriage return and newline characters at end of sequence) :
48 65 6C 6C 6F 2C 20 77 6F 72 6C 64 21 0D 0A
The following sequence of characters, expressed as binary numbers (with cr/nl as above, and the same ordering of bytes) :
00–07: 01001000 01100101 01101100 01101100 01101111 00101100 00100000 01110111
08–0E: 01101111 01110010 01101100 01100100 00100001 00001101 00001010
LaTeX 2ε.
Page description languages.
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
&lt;title&gt;Hello, world!&lt;/title&gt;
&lt;p&gt;Hello, world!&lt;/p&gt;
&lt;html&gt; and &lt;body&gt;-tags are not necessary for informal testing. You could even use the following:
&lt;pre&gt;Hello, World!&lt;/pre&gt;
or simply write it as text without tags.
HTML 4.01 Strict.
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
Notice that the HEAD tag is optional and could be omitted.
The first paragraph of the W3C Recommendation on The global structure of an HTML document also features this example.
%PDF-1.0
1 0 obj
/Type /Catalog
/Pages 3 0 R
/Outlines 2 0 R
endobj
2 0 obj
/Type /Outlines
/Count 0
3 0 obj
/Type /Pages
/Count 1
/Kids [4 0 R]
4 0 obj
/Type /Page
/Parent 3 0 R
/Resources « /Font « /F1 7 0 R »/ProcSet 6 0 R
/MediaBox [0 0 612 792]
/Contents 5 0 R
5 0 obj
« /Length 44 »
/F1 24 Tf
100 100 Td (Hello World) Tj
endstream
6 0 obj
[/PDF /Text]
7 0 obj
/Type /Font
/Subtype /Type1
/Name /F1
/BaseFont /Helvetica
/Encoding /MacRomanEncoding
0000000000 65535 f
0000000009 00000 n
0000000074 00000 n
0000000120 00000 n
0000000179 00000 n
0000000322 00000 n
0000000415 00000 n
0000000445 00000 n
/Size 8
/Root 1 0 R
startxref
%%EOF
% Displays on console.
% Displays as page output.
24 scalefont
(Hello world!) show
RTF.
{\rtf1\ansi\deff0
\f0\fs20 Hello, world!
TeX.
\bye
Media-based scripting languages.
AviSynth.
BlankClip
Subtitle ("Hello, world!")
Lingo (Macromedia Director scripting language).
on exitFrame me
put "Hello, World!"
Outputs the string to the message window if placed in a hhzhzx movie frame. Alternatively, to display an alert box stating the message you could use
alert "Hello, World!"
POV-Ray.
camera {
location &lt;3, 1, -10&gt;
look_at &lt;3,0,0&gt;
text {
ttf "timrom.ttf" "Hello world!" 1, 0
เขตดุสิต
ดุสิต เป็นหนึ่งในห้าสิบเขตของกรุงเทพมหานคร สภาพพื้นที่ประกอบไปด้วยแหล่งการค้า แหล่งที่อยู่อาศัยหนาแน่นมาก เขตทหาร แหล่งท่องเที่ยวเชิงประวัติศาสตร์และศิลปวัฒนธรรม นอกจากนี้ยังเป็นสถานที่ที่ตั้งรัฐสภา กระทรวงต่าง ๆ และพระราชวัง จึงทำให้เขตนี้มีลักษณะราวกับว่าเป็นเขตการปกครองส่วนกลางของประเทศไทย อนึ่ง ที่ทำการสำนักงานส่วนภูมิภาคและสำนักงานประจำประเทศไทย ขององค์การสหประชาชาติ และขององค์การระหว่างประเทศหลายองค์การ ก็อยู่ในพื้นที่เขตนี้
เขตดุสิตตั้งอยู่ริมฝั่งซ้ายของแม่น้ำเจ้าพระยาหรือฝั่งพระนคร มีอาณาบริเวณติดต่อ ดังนี้
ในรัชสมัยพระบาทสมเด็จพระจุลจอมเกล้าเจ้าอยู่หัว ได้ปรับปรุงจัดรูปแบบการปกครองใหม่เพื่อให้มีความทันสมัย โดยจัดการปกครองส่วนกลางและส่วนภูมิภาค ซึ่งในมณฑลกรุงเทพมีกระทรวงนครบาลดูแล แบ่งเขตปกครองออกเป็นอำเภอและตำบลเช่นเดียวกับหัวเมืองอื่น ๆ โดย อำเภอดุสิต เป็น 1 ใน 8 อำเภอชั้นใน ตั้งที่ว่าการอำเภออยู่ริมคลองเปรมประชากร ถนนสุโขทัย
ใน พ.ศ. 2481 อำเภอบางซื่อซึ่งเป็นอำเภอชั้นนอกทางทิศเหนือ ได้ถูกยุบลงเป็นตำบลมาขึ้นกับอำเภอดุสิต และเนื่องจากทางอำเภอมีจำนวนประชากรและพื้นที่กว้างขวางมาก กระทรวงมหาดไทยจึงได้แยกตำบลสามเสนใน ตำบลมักกะสัน ตำบลทุ่งพญาไท ตำบลถนนเพชรบุรี และตำบลถนนพญาไท ไปรวมกับพื้นที่บางส่วนของอำเภอบางกะปิ เพื่อจัดตั้งเป็นอำเภอพญาไท ใน พ.ศ. 2509
ภายหลังได้มีการรวมจังหวัดธนบุรีและจังหวัดพระนคร เป็นนครหลวงกรุงเทพธนบุรี และเปลี่ยนเป็นกรุงเทพมหานครในเวลาต่อมา ซึ่งแบ่งพื้นที่ออกเป็นเขตและแขวงแทนอำเภอและตำบล อำเภอดุสิตจึงได้รับการเปลี่ยนแปลงฐานะเป็น เขตดุสิต มีหน่วยการปกครองย่อย 6 แขวง