< Rebol Programming
USAGE:
AS-PAIR x y
DESCRIPTION:
Combine X and Y values into a pair.
AS-PAIR is a function value.
ARGUMENTS
- x -- (Type: number)
- y -- (Type: number)
SOURCE CODE
as-pair: func [
"Combine X and Y values into a pair."
x [number!] y [number!]
][
add 1x0 * x 0x1 * y
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.