コンテナを受け取り、コンテナの要素を引数のリストとして返します。
シグネチャ
説明
例
| 例 | |
![]() | |
{value
|| Define an Arguments container and initialize it with
|| a number of positional and keyword arguments.
let args:Arguments = {Arguments background = "beige",
color = "blue",
"Here...",
"comes..."}
|| Define a VBox and initialize it with the return value
|| from a call to the spaced-vbox procedure.
|| A "splice" expression includes the arguments from the
|| above Arguments object.
let vb:VBox = {spaced-vbox
"Hello world!",
{splice args},
"Curl!"}
|| Display the VBox
vb
}
|
| 例 | |
![]() | |
{value
|| Define an array of strings and initialize it with
|| three strings.
let some-strings:StringArray =
{new StringArray, "Here...", "comes...", "Curl!"}
|| Define a VBox and initialize it with the return value
|| from a call to the spaced-vbox procedure.
|| A "splice" expression includes the elements of the above
|| array as arguments in the procedure call.
let vb:VBox = {spaced-vbox
"Hello world!",
{splice some-strings}}
|| Display the VBox.
vb
}
|