Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FixedChar組み込みファンクション - AsFixedCharメソッド 

Panel
bgColor#2c3c4c

固定長文字列を返します

FixedChar組み込みファンクション (PRIM_LIBI.IFixedCharIntrinsics) のメンバ

パラメータ

名前

タイプ

データタイプ

記述

Result

*Result (任意)

文字列

結果の文字列

詳細

英数字フィールドのみ 英数字フィールドのみ 

AsFixedChar は、内容の長さではなく、組み込みファンクションの対象の定義と同じ長さの結果を返します。したがって、長さ 10 のフィールドを参照する場合、フィールド値に含まれる文字数に関係なく、 AsFixedChar は常に10バイトの値を返します。

     #FullName := #GiveName.AsFixedChar + #Surname 

この例では、Givename が値「Veronica」を含むアルファベット 20 で、Surname に「Brown」が含まれるため、結果は「Veronica Brown」になります。
In this example, where Givename is an alpha 20 containing the value "Veronica", and Surname contains "Brown" the result would be "Veronica Brown".


参照

すべてのコンポーネント クラス
テクニカルリファレンス