Hi Tomas,

sorry, I missed the last two questions:

> (onOff sym ..) -> flg
> 
>    Logical negates the VAL's of all argument symbols sym. Returns the
>    new value of the last symbol.
> 
> - Should not the symbol names be passed explicitly?

Yes. But on the other hand, missing arguments usually default to NIL in
picoLisp. Makes not much sense in the case of 'onOff'.


> - Why does it return value of the last symbol?

What would you return instead? Most similar functions like 'on', 'off',
'zero' or 'setq' do the same.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to