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

[REBOL] Re: Bug or feature?

From: kpeters:otaksoft at: 28-Dec-2007 20:42

On Sat, 29 Dec 2007 17:34:08 +1300, Carl Read wrote:
> 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. > >> Bug or feature not understood by me? Or denoting the same thing? >> >> TIA >> Kai
No - am using function in this case.... Kai