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

Reserved Word

By Zarko Gajic, About.com

Definition: A special word reserved by a programming language or by a program.

You are not allowed to use reserved words as variable names.

A partial list of Delphi reserved words:

  • and
  • array
  • as
  • asm
  • begin
  • case
  • class
  • const
  • constructor
  • destructor
  • dispinterface
  • div
  • do
  • downto
  • else
  • end
  • except
  • exports
  • file
  • finalization
  • finally
  • for
  • function
  • goto
  • if
  • implementation
  • in
  • inherited
  • initialization
  • interface
  • in
  • is
  • library
  • nil
  • not
  • object
  • of
  • or
  • out
  • packed
  • procedure
  • program
  • property
  • raise
  • record
  • repeat
  • resourcestring
  • set
  • string
  • then
  • to
  • try
  • type
  • unit
  • until
  • uses
  • var
  • while
  • with
In addition to the words above, private, protected, public, published, and automated act as reserved words within object type declarations, but are otherwise treated as directives. The words at and on also have special meanings.
Also Known As: Keyword
Explore Delphi Programming
About.com Special Features

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

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Getting Started with Delphi
  5. Delphi Programming Glossary
  6. Reserved Word - Glossary - Delphi Programming

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

All rights reserved.