Re: Standard library praise and challenge

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...
    1. EUPHORIA's routines tend to die rather than give an error code when given bad parameters. Let's be consistent here. In general I prefer to see an error code but there is no way to tell an error code from a result here.

I think value() provides an error code, so there is a precedent.

result = { [NOT] SUCCESS, 23 } -- one way to do it 

I suspect Derek expects an exceptions feature to eventually handle all this, but for now...?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu