On Fri, 28 Dec 2007 21:49:10 -0700, Gregg Irwin wrote:
>
> Hi Kai,
>
> It complains with me here, so I assume you meant to use FUNC. If that's=
 the case...it's still
> undocumented behavior, but basically it ignores the unnamed param:
>
>>> probe send-mail: func [ addr [string!] [email!] xx [integer!]] [print=
 xx]
>>>
> func [addr [string!] [email!] xx [integer!]][print xx]
>>> send-mail "test" 1
> 1
>
> -- Gregg

Hi Gregg ~

just doublechecked - it's function, doesn't complain and runs fine:


send-mail: function [ addr [string!] [email!] ] [] [
  either addr =3D ""
    [ alert/title "Cannot send email to empty address" "Error" ]
    [ browse join "mailto:"; addr ]
]
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to