1. Home
  2. Computing & Technology
  3. Delphi Programming
Parameter list
<Back to Last Page>     <Full Glossary>

 Related Terms
• Parameter
• Procedure
• Function
 
 
Definition: A parameter list is a sequence of parameter declarations separated by semicolons and enclosed in parentheses. Each declaration is a comma-delimited series of parameter names, followed in most cases by a colon and a type identifier, and in some cases by the = symbol and a default value. Parameter names must be valid identifiers. Any declaration can be preceded by one of the reserved words var, const, and out

Also Known As: argument list

Examples: function SomefName(paramlist):return type;

where param list could be:

(X, Y: Real)
(var S: string; X: Integer)
(HWnd: Integer; Text, Caption: PChar; Flags: Integer)
(const P; year: Integer = 2001)

Related Resources:

Functions and Procedures
Creating user defined subroutines in Object Pascal.

Routines in Delphi: Beyond the Basics
Extending Object Pascal functions and procedures with default parameters and method overloading.

<Back to Last Page>     <Full Glossary>
Explore Delphi Programming
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2010 About.com, a part of The New York Times Company.

All rights reserved.