Re: Getting environment variables?

2008-11-22 Thread BCS
Reply to Christopher, I thought (perhaps wrongly) C allowed you to declare main as taking a list of environment variables, It does.

Re: Getting environment variables?

2008-11-22 Thread Christopher Wright
Jarrett Billingsley wrote: On Sat, Nov 22, 2008 at 12:55 PM, Christopher Wright <[EMAIL PROTECTED]> wrote: Hey all, How do I get environment variables in a D program? I specifically want the path to a user's home folder. Ta muchly. In Tango, there's tango.sys.Environment (http://www.dsource

Re: Getting environment variables?

2008-11-22 Thread Stewart Gordon
"Christopher Wright" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hey all, How do I get environment variables in a D program? std.c.stdlib.getenv http://www.cplusplus.com/reference/clibrary/cstdlib/getenv.html I specifically want the path to a user's home folder. Platform-de

Re: Getting environment variables?

2008-11-22 Thread Jarrett Billingsley
On Sat, Nov 22, 2008 at 12:55 PM, Christopher Wright <[EMAIL PROTECTED]> wrote: > Hey all, > > How do I get environment variables in a D program? I specifically want the > path to a user's home folder. > > Ta muchly. > In Tango, there's tango.sys.Environment (http://www.dsource.org/projects/tango/

Getting environment variables?

2008-11-22 Thread Christopher Wright
Hey all, How do I get environment variables in a D program? I specifically want the path to a user's home folder. Ta muchly.

Re: which version of D for beginers?

2008-11-22 Thread Gide Nwawudu
On Sat, 22 Nov 2008 16:30:39 +0100, Hoenir <[EMAIL PROTECTED]> wrote: >Lutger schrieb: >> There are a few changes that need to be done when porting code from D1 to >> D2. It may be helpful to find out what those are at an early stage and >> program your applications with these in mind. That will h

Re: which version of D for beginers?

2008-11-22 Thread Hoenir
Lutger schrieb: There are a few changes that need to be done when porting code from D1 to D2. It may be helpful to find out what those are at an early stage and program your applications with these in mind. That will help when D2 is more stabilized and you want to switch in the future. While w

Re: which version of D for beginers?

2008-11-22 Thread Janderson
Fei wrote: Hi, I'm a new D learner but I'm wondering which version of D is suitable for me. v1, or v2? When D 2 is out, it seems to be apparent that I should go directly to v2. But my intention of using D is to create small desktop application for windows, which needs GUI library of cource.

Re: which version of D for beginers?

2008-11-22 Thread Lutger
Fei wrote: > Hi, > > I'm a new D learner but I'm wondering which version of D is suitable for > me. v1, or v2? > > When D 2 is out, it seems to be apparent that I should go directly to v2. > But my intention of using D is to create small desktop application for > windows, which needs GUI library