[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sys.getenv bug?



On Thu, Sep 02, 2004 at 07:26:18AM +0200, Lionel Elie Mamane wrote:
> On Mon, Aug 30, 2004 at 03:38:15PM +0200, Johann Spies wrote:
> 
> > # Sys.getenv "HOST";;
> > Exception: Not_found.
> 
> > zsh % echo $HOST
> > burger.sun.ac.za
> 
> > Now my question:  How do I correct this problem?
> 
> Try "export HOST" in zsh, and then in the *same* zsh, launch the ocaml
> toplevel and try again.
> 

Thanks Lionel.  That solved the problem.  

Regards
Johann
-- 
J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)  
             Posbus 4668, Tygervallei 7536
     "How precious also are thy thoughts unto me, O God! how
      great is the sum of them! If I should count them, they
      are more in number than the sand; when I awake, I am 
      still with thee."    Psalms 139: 17,18 



Reply to: