RAD Studio (Common)
ContentsIndex
PreviousUpNext
Fundamental Syntactic Elements

This section describes the fundamental syntactic elements, or the building blocks of the Delphi language.

Name 
Description 
This topic introduces the Delphi language character set, and describes the syntax for declaring:
  • Identifiers
  • Numbers
  • Character strings
  • Labels
  • Source code comments
 
This topic describes the syntax of Delphi declarations and statements.
Aside from the uses clause (and reserved words like implementation that demarcate parts of a unit), a program consists entirely of declarations and statements, which are organized into blocks.
This topic covers the following items:
  • Declarations
  • Simple statements such as assignment
  • Structured statements such as conditional tests (e.g., if-then, and case), iteration (e.g., for, and while).

string;

The syntax and placement of a declaration depend on the kind of identifier you are defining. In general, declarations can occur only at the beginning of a... more 

circuit evaluation is usually preferable because it guarantees minimum execution time and, in most cases, minimum code size. Complete evaluation is sometimes convenient when one operand is a function with side effects that alter the execution of the program.
circuit evaluation also allows the use of constructions that might otherwise result in illegal runtime operations. For example, the following code iterates through the string S, up to the first comma.  
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!