Re: Array initialization with common base - Best way?

2008-11-10 Thread Carl Clark
On 2008-11-09 19:50, deadimp wrote: Mebbe the naiive expectations arise because most compilers (those for D, C++, C#, C, Java) take the expression `15 + 0.6` and returns a double - the highest general 'blanketing' type - even though the first operand is an int. I forgot what this concept was calle

Re: including a file

2008-11-10 Thread Frits van Bommel
Christopher Wright wrote: Jarrett Billingsley wrote: On Sun, Nov 9, 2008 at 10:18 PM, James <[EMAIL PROTECTED]> wrote: i created to include file, 1 with 'module xxx' declaration and the other without it. but i still can import both files. what is the diff here? Not a lot. The module decla

Re: Array initialization with common base - Best way?

2008-11-10 Thread Ary Borenszweig
Ary Borenszweig wrote: deadimp escribió: That's the problem I had mentioned, though - the type of the entire array being inferred from the first element rather than the context (i.e. what it's initializing if not declared as 'auto') or subsequent elements (which would be a bit difficult...). W

Re: including a file

2008-11-10 Thread Christopher Wright
Jarrett Billingsley wrote: On Sun, Nov 9, 2008 at 10:18 PM, James <[EMAIL PROTECTED]> wrote: i created to include file, 1 with 'module xxx' declaration and the other without it. but i still can import both files. what is the diff here? Not a lot. The module declaration doesn't serve much pu

Re: including a file

2008-11-10 Thread Frits van Bommel
Jarrett Billingsley wrote: On Sun, Nov 9, 2008 at 10:18 PM, James <[EMAIL PROTECTED]> wrote: i created to include file, 1 with 'module xxx' declaration and the other without it. but i still can import both files. what is the diff here? Not a lot. The module declaration doesn't serve much pu

Re: including a file

2008-11-10 Thread Bill Baxter
On Mon, Nov 10, 2008 at 1:59 PM, Jarrett Billingsley <[EMAIL PROTECTED]> wrote: > On Sun, Nov 9, 2008 at 10:18 PM, James <[EMAIL PROTECTED]> wrote: >> i created to include file, 1 with 'module xxx' declaration and the other >> without it. but i still can import both files. what is the diff here? >