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

[REBOL] Re: Bug or feature?

From: pwawood:gma:il at: 29-Dec-2007 9:50

On Saturday, December 29, 2007, at 08:02 am, 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. > > Bug or feature not understood by me? Or denoting > the same thing?
They aren't the same:
>> a: func [b [string!] [integer!]] [ print b] >> a 1
** Script Error: a expected b argument of type: string ** Near: a 1
>> a "1"
1 Only the original developer will really know if it is a bug or feature. Regards Peter