and the fastest method is:

p: (1x0 * a) + (0x1 * b)


-MAx

2009/11/9 sqlab <[email protected]>:
>
> =A0>> p: =A0as-pair a b
> =3D=3D 1x2
>
> is enough or
>
> =A0>> p: to-pair reduce [a b]
> =3D=3D 1x2
>
>
>
> On 09.11.2009 14:00, Semseddin Moldibi [ Bircom ] wrote:
>> p: make pair! as-pair a b
>>
>> should work.
>>
>>
>>> Hi!
>>> =3D20
>>> I'd like to use variables in a make statement for creating pairs:
>>> =3D20
>>> a: 1
>>> b: 2
>>> p: make pair! [a b] does not work for me.
>>> =3D20
>>> tia
>>> =3D20
>>> Peter Bj=3DF6rk
>>> =3D20
>>> Schweizerische Depeschenagentur Ag
>>> =3D20
>>> L=3DE4ngassstrasse 7
>>> CH-3012 Berne
>>> =3D20
>>> Tel-M: +41-31-775 9892
>>> Tel-G: +41-31-309 3986
>>> =3D20
>>> E-Mail: [email protected]
>>> --
>>> To unsubscribe from the list, just send an email to
>>> lists at rebol.com with unsubscribe as the subject.
>>>
>>
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to