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

[REBOL] Re: Summing a list

From: dhsunanda::gmail at: 2-Sep-2010 16:57

Try this: suma: func [series] [ if empty? series [return 0] add first series suma next series ] Your problem was having the [add first...] in a block. It needs to be open code Sunanda