Perhaps not. To be clear, I was NOT saying it should be a "requirement"I don't think it's can be a simple as an implied requirement to return something.
FWIW, code blocks already have an implict return of the last value of cmd in block, so why I thought that was involved (like that a :set returns nil, but :put returns a string) e.g.
Code:
:global x [:do {:put "a"; :put "b"; :put "c"}]:put "tostr: $[:tostr $x] len: $[:len $x] typeof: $[:typeof $x] array0: $($x->0) array1: $($x->1)"tostr: ;c len: 2 typeof: array array0: array1: c
Statistics: Posted by Amm0 — Sat Jan 27, 2024 7:08 pm