home > 比較編 > Delphi, PL/SQL, T-SQL, Ada > functions >

ForNext

Only Do What Only You Can Do

063. declare function parameters

VBScript

JScript

Perl

PHP

Python

Ruby

PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Pascal

Ada

PL/SQL

create function foo(i int, j int)
returns int as $$
begin
   code using i and j

alternative method:
create function foo2(int)
returns int as $$
declare
  i alias for $1;
  j alias for $2;
begin
   code using i and j

T-SQL

関数型

inserted by FC2 system