RTL/ja

From Lazarus wiki
Revision as of 01:32, 20 July 2008 by Saeka-jp (talk | contribs)
Jump to navigationJump to search

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

日本語版メニュー
メインページ - Lazarus Documentation日本語版 - 翻訳ノート - 日本語障害情報

Free Pascal ランタイムライブラリ (RTL)

ランタイムライブラリは、アプリケーションの環境依存部分を吸収するために生成したり、コンパイラがアプリケーションにインクルードしたりするのに使われる、いくつかのソースコードファイルです。 次の目的のために使われます:

  • ユーザーアプリケーションを実行する前に、ランタイムライブラリそのものを初期化Initialization するために使われます。
  • アプリケーションを初期化Initializationして実行 startupします。
  • 標準パスカル関数をアプリケーションに提供します。(例えば、WriteWritelnなどの標準関数 standard functionです。)
  • コンパイラのインラインinlineでは提供されない、(例えば特別な数学関数のような)ライブラリ関数library functionを提供します。
  • 拡張パスカル関数extended functionをアプリケーションに提供します。(例えば、ファイル変数file variableに外部ファイルexternal fileを割り当てるAssign関数など)
  • 標準パスカル関数や拡張パスカル関数のI/Oに対して、適切なローカルのリソースを割り当てます。(例えば、ウインドウシステム環境においては、Writeやwriteln文のファイル変数がウインドウを示すようになっているなら、そのように変更します。テキスト環境でターミナルを示す場合や、外部ファイルに割り当てる場合なども同様です)

RTLユニット

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.

Using RTL

Some problems using the crt and the video units with unix terminals are described here: Terminal & Fonts

Read about the API units (Video/Mouse/Keyboard) and the Crt Unix, the bigger picture in KVM API and Crt future

The windows interface units have an own page here

Developing RTL

RTL development articles