バージョンごとのドキュメント一覧

44.3. PL/Tclにおけるデータの値 #

<title>Data Values in PL/Tcl</title>

The argument values supplied to a PL/Tcl function's code are simply the input arguments converted to text form (just as if they had been displayed by a <command>SELECT</command> statement). Conversely, the <literal>return</literal> and <literal>return_next</literal> commands will accept any string that is acceptable input format for the function's declared result type, or for the specified column of a composite result type. PL/Tcl関数コードに与えられる引数の値は、単に、テキスト形式(SELECT文によりそれを表示した場合と同じ形式)に変換された入力引数です。 逆に、returnコマンドとreturn_nextコマンドは、その関数宣言における戻り値の型、あるいは複合型の戻り値型の入力書式として受け付けることができる、任意の文字列を受け付けます。