Rebol Programming/as-pair

USAGE:

edit
AS-PAIR x y 

DESCRIPTION:

edit

Combine X and Y values into a pair.

AS-PAIR is a function value.

ARGUMENTS

edit
  • x -- (Type: number)
  • y -- (Type: number)

SOURCE CODE

edit
as-pair: func [
    "Combine X and Y values into a pair." 
    x [number!] y [number!]
][
    add 1x0 * x 0x1 * y
]