[erlang-questions] starting odbc from an application

Anthony Shipman als@REDACTED
Sat Jun 13 10:24:23 CEST 2009


On Sat, 13 Jun 2009 03:52:40 am info wrote:
> I also tried:
> init()->
>  case application:start(odbc)  of
>     {ok}-> ...
>     {error,Reason}->...
> end
>
> same runtime error

because it returns ok not {ok}. 

Putting braces around a single atom is bizarre and wasteful.

-- 
Anthony Shipman                    Mamas don't let your babies 
als@REDACTED                   grow up to be outsourced.


More information about the erlang-questions mailing list