home > 比較編 > Delphi, PL/SQL, T-SQL, Ada > はじめに >

ForNext

Only Do What Only You Can Do

001. hello word

VBScript

JScript

Perl

PHP

Python

Ruby

PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Pascal

$ cat hello.pas
program hello;
begin
  writeln('hello world!');
end.
$ fpc hello.pas
$ ./hello






Ada

$ cat hello.adb
with Text_IO; use Text_IO;
procedure Hello is
begin
  Put_Line ("Hello World!");
end Hello;
$ gnatgcc -c hello.adb
$ gnatbind hello
$ gnatlink hello
$ ./hello
Hello World!


PL/SQL

at psql prompt:
> create or replace function hello()
returns varchar as $$
begin
  return 'Hello World!';
end;
$$ language plpgsql;
CREATE FUNCTION
> select hello();
hello
--------------
Hello World!
(1 row)

T-SQL

関数型

inserted by FC2 system