chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] getenv


From: Jim Ursetto
Subject: Re: [Chicken-users] getenv
Date: Fri, 11 Mar 2011 15:43:39 -0600

Hi Dave,
The wiki manual tracks the latest stable release of Chicken, which is 4.6.0 and 
still contains "getenv".  It should be removed when 4.7.0 comes out.
Jim

On Mar 11, 2011, at 3:33 PM, David N Murray wrote:

> Hi all,
> 
> I'm not sure fixing the docs is the correct thing here, but I'll be happy
> to do it.
> 
> http://wiki.call-cc.org/man/4/Unit%20library#get-environment-variable
> 
> [procedure] (get-environment-variable STRING)
> [procedure] (getenv STRING)
> 
> Returns the value of the environment variable STRING or #f if that
> variable is not defined. See also SRFI-98. getenv is an alias for
> get-environment-variable.
> 
> sauron:~ dnm$ csi -n
> 
> CHICKEN
> (c)2008-2011 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.6.5
> macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
> compiled 2011-03-11 on sauron.local (Darwin)
> 
> #;1> (import scheme)
> ; loading /usr/local/lib/chicken/6/scheme.import.so ...
> #;2> (get-environment-variable "HOME")
> "/Users/dnm"
> #;3> (getenv "HOME")
> 
> Error: unbound variable: getenv
> 
>       Call history:
> 
>       <syntax>          (getenv "HOME")
>       <eval>    (getenv "HOME")       <--
> #;3>
> 
> TIA,
> Dave
> 
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]