Re: expected array behaviour

2009-01-02 Thread Anders F Björklund
John Reimer wrote: You'd get a runtime error if you were using Linux. For some reason string literals are not read-only, or Windows doesn't respect it, or something like that. Modifying either array1 or array2 is technically illegal. So, uh, don't do it. Yes, that's one advantage to Linux.

Re: expected array behaviour

2009-01-02 Thread John Reimer
Hello Anders, John Reimer wrote: You'd get a runtime error if you were using Linux. For some reason string literals are not read-only, or Windows doesn't respect it, or something like that. Modifying either array1 or array2 is technically illegal. So, uh, don't do it. Yes, that's one

.bat file to help compile easier - dmd/build

2009-01-02 Thread Michael P.
Okay, so right now, I'm making a small game(Mario) using DAllegro. I use build, and every time, I have to type this in to compile my progress: build mario alleg.lib Now, I know it's not a lot of typing. But considering I type mario wrong every so often, and I generally want to execute it

Re: .bat file to help compile easier - dmd/build

2009-01-02 Thread Daniel de Kok
On Fri, 02 Jan 2009 14:17:17 -0500, Michael P. wrote: But, mario will execute even if there are errors found by dmd. Is there anything that I can use to see if errors were found, and if there isn't, execute it, and if there is, don't execute it? DMD1.036, Windows XP, Build/Bud 3.04 I haven't

Re: .bat file to help compile easier - dmd/build

2009-01-02 Thread Jarrett Billingsley
On Fri, Jan 2, 2009 at 2:17 PM, Michael P. baseball@gmail.com wrote: Okay, so right now, I'm making a small game(Mario) using DAllegro. I use build, and every time, I have to type this in to compile my progress: build mario alleg.lib Now, I know it's not a lot of typing. But considering

Re: .bat file to help compile easier - dmd/build

2009-01-02 Thread Bill Baxter
On Sat, Jan 3, 2009 at 6:35 AM, Bill Baxter wbax...@gmail.com wrote: On Sat, Jan 3, 2009 at 4:17 AM, Michael P. baseball@gmail.com wrote: Okay, so right now, I'm making a small game(Mario) using DAllegro. I use build, and every time, I have to type this in to compile my progress: build

Re: .bat file to help compile easier - dmd/build

2009-01-02 Thread Bill Baxter
On Sat, Jan 3, 2009 at 7:20 AM, Jarrett Billingsley jarrett.billings...@gmail.com wrote: On Fri, Jan 2, 2009 at 4:35 PM, Bill Baxter wbax...@gmail.com wrote: On Sat, Jan 3, 2009 at 4:17 AM, Michael P. baseball@gmail.com wrote: Okay, so right now, I'm making a small game(Mario) using

Re: .bat file to help compile easier - dmd/build

2009-01-02 Thread Jarrett Billingsley
On Fri, Jan 2, 2009 at 7:29 PM, Bill Baxter wbax...@gmail.com wrote: Ah, didn't notice because gmail hid your response inside a click here to see quoted message. It does seem to have that bad habit, doesn't it.

Re: .bat file to help compile easier - dmd/build

2009-01-02 Thread Jarrett Billingsley
On Fri, Jan 2, 2009 at 8:20 PM, Jarrett Billingsley jarrett.billings...@gmail.com wrote: On Fri, Jan 2, 2009 at 7:29 PM, Bill Baxter wbax...@gmail.com wrote: Ah, didn't notice because gmail hid your response inside a click here to see quoted message. It does seem to have that bad habit,

Re: .bat file to help compile easier - dmd/build

2009-01-02 Thread Michael P.
Jarrett Billingsley Wrote: On Fri, Jan 2, 2009 at 2:17 PM, Michael P. baseball@gmail.com wrote: Okay, so right now, I'm making a small game(Mario) using DAllegro. I use build, and every time, I have to type this in to compile my progress: build mario alleg.lib Now, I know it's

Two Tango container package

2009-01-02 Thread Sam Hu
I was wondering why there are 2 container package under tango.util.collection ,tango.util.container which some of the libarary are the same,say HashSet,HashMap which just make a bit confuse? Thanks.

Re: Two Tango container package

2009-01-02 Thread Tim M
On Sat, 03 Jan 2009 17:10:44 +1300, Sam Hu samhu.sa...@gmail.com wrote: I was wondering why there are 2 container package under tango.util.collection ,tango.util.container which some of the libarary are the same,say HashSet,HashMap which just make a bit confuse? Thanks. Container is the