Hi.

Next one problem:

do you ever try return from forall in function?

test: func [blk][
  forall blk [
    if not integer? first blk [return "Not integer!"]
  ]
  none
]

>> test [ 1 2 3 "a" 5 6]
== none

Dictionary says:

Exits the current function immediately, returning a value as the result of
the function.
 
So It's a bug IMHO.

To exit only 'forall should be used break (with refinement /return to return
some value)

Another $0.02 :-)

Regards.
Jan


--
Jan Strejcek
[EMAIL PROTECTED]

Reply via email to