Steven Schveighoffer wrote:
I wonder if someone recalls the feature set of the dmd compiler from
July, 2005.
That would be http://ftp.digitalmars.com/dmd.128.zip
Tested the example given with that compiler, and got ArrayBoundsError.
Just as expected.
--
Simen
On Fri, 28 May 2010 22:42:32 -0400, Duke Normandin
wrote:
On Sat, 29 May 2010, Simen kjaeraas wrote:
Duke Normandin wrote:
> So these two paragraphs in the tutorial are flat out wrong?
Absolutely.
Then I'm done with _that_ site - can't trust it!
Any chance that you could suggest a goo
Hello Simen,
Duke Normandin wrote:
So these two paragraphs in the tutorial are flat out wrong?
Absolutely.
Any idea who owns it so it can get changed? For that matter, who added the
link?
Being paranoid for the moment (it can be fun sometimes :) that blurb is so
wrong that I wonder i
On Sat, 29 May 2010, Simen kjaeraas wrote:
> Duke Normandin wrote:
>
> > So these two paragraphs in the tutorial are flat out wrong?
>
> Absolutely.
Then I'm done with _that_ site - can't trust it!
Any chance that you could suggest a good beginner's D tutorial?
--
duke
Duke Normandin wrote:
So these two paragraphs in the tutorial are flat out wrong?
Absolutely.
--
Simen
On Fri, 28 May 2010, bearophile wrote:
> Duke Normandin:
>
> > This is the site that I'm using to learn D. If you scroll down 3-4
> > screens full, you'll come to the "array" topic. Is this tutorial
> > outdated, wrong, or what, because it doesn't deem to sync with what
> > you two fine fellows ar
Duke Normandin:
> This is the site that I'm using to learn D. If you scroll down 3-4
> screens full, you'll come to the "array" topic. Is this tutorial
> outdated, wrong, or what, because it doesn't deem to sync with what
> you two fine fellows are telling me about creating dynamic arrays in
> the
On Fri, 28 May 2010, bearophile wrote:
> Don:
> > The array initially has length of zero.
> > You need to write something like:
> > intArray = new int[3];
> > or
> > intArray.length = 3;
> > before putting anything into it.
>
> In some languages (Perl? Maybe Lua and PHP) arrays auto-create empty s
Don:
> The array initially has length of zero.
> You need to write something like:
> intArray = new int[3];
> or
> intArray.length = 3;
> before putting anything into it.
In some languages (Perl? Maybe Lua and PHP) arrays auto-create empty slots as
needed, but in many languages you need to tell t
Duke Normandin wrote:
Hey...
Compiler is now working as expected! Thank's to a great catch by
Michel Fortin!
A little further down the tutorial "D_ A Newbie-Oriented Tutorial",
there's this code:
[code]
import std.stdio;
void main()
{
int[] intArray;
intArray[0] = 42;
intArray[1]
Hey...
Compiler is now working as expected! Thank's to a great catch by
Michel Fortin!
A little further down the tutorial "D_ A Newbie-Oriented Tutorial",
there's this code:
[code]
import std.stdio;
void main()
{
int[] intArray;
intArray[0] = 42;
intArray[1] = 54;
intArray[2] = 9
11 matches
Mail list logo