> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# デバッグにおける Print の使用

> 仮説のプロパティと値を表示して FlexiLayout コードをデバッグするために Print 関数を使用する方法。

**Search Conditions** と **Hypotheses Evaluation** の各セクションでは、情報を出力する Print 関数を使用できます。これにより、生成された仮説の特定のプロパティに関する情報を出力できます。

Print 関数の書式：

```
Void Print( String text )
```

FlexiLayout 言語には、さまざまな型を文字列表現に変換してデバッグ情報を出力するためのグローバル関数があります ([表](/ja/vantage/documentation/advanced-designer/activities/flexilayout/global-functions#string-operations)を参照) 。

デバッグ用データを表示するために、FlexiLayout 言語は、その言語で利用可能な各種の型を文字列表現に変換するグローバル関数を提供しています (以下の表を参照) 。

グローバル関数 `Chr( Int char )` は、タブ文字や復帰などを使って出力行を整形するために使用されます。この関数は、Unicode のコードポイントに基づいて文字の文字列表現を返します。

<div id="examples-of-calling-the-print-function">
  ## Print 関数の呼び出し例
</div>

```
Print: Str( Group1.Item1.Width );
```

```
Print: "Item1はNullですか? - " + Str( Group1.Item1.IsNull );
```

```
Print: "数式を計算: ( 5 * 18 );" + Chr( 13 ) +Chr( 10 ) + "結果: " + Str( 5 * 18 ) + Chr( 9 ) + "// 例";
```

```
Print: Str( Group1.Item1.Rect );
```

Code Editor のいずれかのセクションで **Print** 関数を連続して複数回呼び出すと、複数行のテキストが出力されます。
