Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Bug or feature?

From: carl:cybercraft at: 29-Dec-2007 7:11

On Friday, 28-December-2007 at 16:02:17 Kai Peters wrote,
>I had accidentally written > >send-mail: function [ addr [string!] [email!] ] [... > >instead of > >send-mail: function [ addr [string! email!] ] [... > >but Rebol didn't complain.
It complains with me at run-time...
>> send-mail: function [ addr [string!] [email!] ] [print "Huh?"]
** Script Error: function expected body argument of type: block ** Near: send-mail: function [addr [string!] [email!]] [print "Huh?"] Did you mean 'func and not 'function ? -- Carl Read.