Difference between revisions of "RTL/ja"

From Lazarus wiki
Jump to navigationJump to search
m (New page: {{RTL}} {{Japanese Menu}} Free Pascal ランタイムライブラリ (RTL) A ''Run-Time Library'' is the set of source code files that are used to create the portion of ...)
 
m
Line 5: Line 5:
 
Free Pascal ランタイムライブラリ (RTL)
 
Free Pascal ランタイムライブラリ (RTL)
  
A ''Run-Time Library'' is the set of [[Source code|source code]] files that are used to create the portion of the [[Application|application]] which is generated or included by the [[Compiler|compiler]] and used for the following purposes:
+
''ランタイムライブラリ''は、[[Application/ja|アプリケーション]の環境依存部分を吸収するために生成したり、コンパイラがアプリケーションにインクルードしたりするのに使われる、いくつかの[[Source code/ja|ソースコード]ファイルです。
*[[Initialization]] of the run-time-library itself prior to activation of the user's application
+
次の目的のために使われます:
*[[Initialization]] and [[startup]] of the application
+
*ユーザーアプリケーションを実行する前に、ランタイムライブラリそのものを初期化[[Initialization]] するために使われます。
*providing standard Pascal services to the application (support for the [[Write]] and [[Writeln]] [[standard function]]s, for example)
+
*アプリケーションを初期化[[Initialization]]して実行 [[startup]]します。
*providing any [[library function]]s which are not defined [[inline]] by the compiler such as mathematical routines
+
*標準パスカル関数をアプリケーションに提供します。(例えば、[[Write]] [[Writeln]]などの標準関数 [[standard function]]です。)
*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]]).
+
*コンパイラのインライン[[inline]]では提供されない、(例えば特別な数学関数のような)ライブラリ関数[[library function]]を提供します。
*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.
+
*拡張パスカル関数[[extended function]]をアプリケーションに提供します。(例えば、ファイル変数[[file variable]]に外部ファイル[[external file]]を割り当てる[[Assign]]関数など)
 +
*標準パスカル関数や拡張パスカル関数のI/Oに対して、適切なローカルのリソースを割り当てます。(例えば、ウインドウシステム環境においては、Writeやwriteln文のファイル変数がウインドウを示すようになっているなら、そのように変更します。テキスト環境でターミナルを示す場合や、外部ファイルに割り当てる場合なども同様です)
  
== RTL units ==
+
== 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|unit categorization]], detailed description of individual units and included routines is available in RTL unit reference manual provided as part of FPC extensive documentation.
 
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|unit categorization]], detailed description of individual units and included routines is available in RTL unit reference manual provided as part of FPC extensive documentation.
  

Revision as of 00:29, 20 July 2008

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

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

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

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

  • ユーザーアプリケーションを実行する前に、ランタイムライブラリそのものを初期化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