[erlang-questions] starting odbc from an application

info <>
Sat Jun 13 11:51:41 CEST 2009


Thank you Tony... I was a little blind !

What is the best method:
- to start as I do it;
- to start with a release package my application and the odbc application ?
John

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 
                   grow up to be outsourced.

________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org


More information about the erlang-questions mailing list