RTL/es

From Lazarus wiki
Revision as of 23:29, 11 March 2009 by Jma sp (talk | contribs)
Jump to navigationJump to search

Deutsch (de) English (en) español (es) français (fr) Bahasa Indonesia (id) 日本語 (ja) русский (ru)

Free Pascal Runtime Library (RTL)

Una Run-Time Library es un conjunto de código fuente de ficheros utilizados para crear the portion of the application which is generated or included by the compiler y utilizada para los siguientes propósitos:

  • Initialization de la run-time-library en si misma previa a la activación del la aplicación del usuario.
  • Initialization and startup de la aplicación.
  • aportando servicios Pascal estandar a la aplicación (soporte para las funciones estándar (standard functions) Write y WriteLn, por ejemplo)
  • providing any library functions which are not defined inline by the compiler such as mathematical routines
  • providing extended Pascal services to the application (support for the Assign extended function to assign a reference to an external file to a file variable).
  • providing a conversion for local equivalents for a standard or extended function into the local equivalent (for example, changing the Write or writeln statement to write to a window in a windowed environment if the file variable is pointing to a window, to write to the screen in a text environment if the file is pointing to the terminal, or to write to a file if the file variable is pointing to an external file.

RTL units

Debido a una combinación de diferentes razones, especialmente por el hecho de que FPC trata de ser compatible con dos compiladores diferentes (Turbo Pascal/Borland Pascal y Delphi) los cuales difieren ligeramente en sintaxis y unidades disponibles para dos paradigmas diferentes (procedural y programación orientada a objetos) Due to a combination of different reasons, especially the fact that FPC tries to be compatible to two different compilers (TP/BP and Delphi) with slightly different syntax and different sets of supplied units for two different paradigms (procedural and object oriented programming), and that FPC supports many different platforms requiring support of both platform specific API functions and common routines available across all or at least most supported platforms, there are lots of different units with partly overlapping functionality. Simplified overview can be found in this unit categorization, detailed description of individual units and included routines is available in RTL unit reference manual provided as part of FPC extensive documentation. Se puede encontrar una vista simplificada sobre esta categorización de unidades, la descripción detallada de unidades individuales y rutinas incluidas en las mismas está disponible en el manual de feferencia de la unit RTL, aportado como parte de la extensiva documentación del compilador FreePascal.

Utilizando RTL

Aquí se describen algunos problemas de utilización en el uso de las unidades crt y video: Terminal & Fonts

Lee acerca de las unidades del API (Video/Mouse/Keyboard) y Crt Unix, the bigger picture en KVM API and Crt future

Las unidades para el interface de windows tienen su propia página en here.

Diseñando RTL

RTL development articles