Hľadaj Zobraz: Univerzity Kategórie Rozšírené vyhľadávanie

45 118
projektov

Delphi - programovací jazyk

«»
Prípona
.pdf
Typ
skriptá
Stiahnuté
0 x
Veľkosť
0,8 MB
Jazyk
anglický
ID projektu
45223
Posledná úprava
21.07.2014
Zobrazené
1 062 x
Autor:
marian.petras
Facebook icon Zdieľaj na Facebooku
Detaily projektu
Popis:
Language Overview
Delphi is a high-level, compiled, strongly typed language that supports structured and object-oriented design. Based
on Object Pascal, its benefits include easy-to-read code, quick compilation, and the use of multiple unit files for
modular programming. Delphi has special features that support Borland's component framework and RAD
environment. For the most part, descriptions and examples in this language guide assume that you are using Borland
development tools.
Most developers using Borland software development tools write and compile their code in the integrated
development environment (IDE). Borland development tools handle many details of setting up projects and source
files, such as maintenance of dependency information among units. The product also places constraints on program
organization that are not, strictly speaking, part of the Object Pascal language specification. For example, Borland
development tools enforce certain file- and program-naming conventions that you can avoid if you write your
programs outside of the IDE and compile them from the command prompt.
This language guide generally assumes that you are working in the IDE and that you are building applications that
use the Borland Visual Component Library (VCL). Occasionally, however, Delphi-specific rules are distinguished
from rules that apply to all Object Pascal programming. This text covers both the Win32 Delphi language compiler,
and the Delphi for .NET language compiler. Platform-specific language differences and features are noted where
necessary.
This section covers the following topics:
- Program Organization. Covers the basic language features that allow you to partition your application into units
and namespaces.
- Example Programs. Small examples of both console and GUI applications are shown, with basic instructions
on running the compiler from the command-line.

Kľúčové slová:

delphi

language

variables

procedures

programming

class

memory



Obsah:
  • Language Overview -7-
    Programs and Units -13-
    Using Namespaces with Delphi -20-
    Fundamental Syntactic Elements -25-
    Declarations and Statements -30-
    Expressions -48-
    Data Types, Variables, and Constants -60-
    Simple Types -62-
    String Types -70-
    Structured Types -76-
    Pointers and Pointer Types -87-
    Procedural Types -90-
    Variant Types -93-
    Type Compatibility and Identity -97-
    Declaring Types -100-
    Variables -102-
    Declared Constants -104-
    Procedures and Functions -110-
    Parameters -119-
    Calling Procedures and Functions -128-
    Classes and Objects -132-
    Fields -138-
    Methods -140-
    Properties -150-
    Class References -157-
    Exceptions -160-
    Nested Type Declarations -167-
    Standard Routines and I/O -170-
    Libraries and Packages -179-
    Writing Dynamically Loaded Libraries -181-
    Packages -186-
    Object Interfaces -191-
    Implementing Interfaces -195-
    Interface References -199-
    Automation Objects (Win32 Only) -201-
    Memory Management on the Win32 Platform -205-
    Internal Data Formats -207-
    Memory Management Issues on the .NET Platform -216-
    Program Control -221-
    Using Inline Assembly Code (Win32 Only) -226-
    Understanding Assembler Syntax (Win32 Only) -227-
    Assembly Expressions (Win32 Only) -233-
    Assembly Procedures and Functions (Win32 Only) -242-
    Using .NET Custom Attributes -245-
O súboroch cookie na tejto stránke

Súbory cookie používame na funkčné účely, na zhromažďovanie a analýzu informácií o výkone a používaní stránky.

Nastavenia Povoliť všetko