Thread overview
import blocks
Dec 20, 2003
Lewis
Dec 20, 2003
Vathix
Dec 20, 2003
Lewis
Dec 20, 2003
C. Sauls
Dec 20, 2003
Vathix
Dec 20, 2003
J Anderson
Dec 20, 2003
Charles
December 20, 2003
Was just thinking that import blocks may be a handy thing to have

instead of...

import std.string;
import std.c.windows.windows;
import std.utf;

something like

import {
std.string;
std.c.windows.windows;
std.utf;
}

or

import { std.string; std.c.windows.windows; std.utf; }

you would still have the order of include you want , it would just save some typing

just a thought :)
December 20, 2003
> you would still have the order of include you want , it would just save
some typing
>
> just a thought :)


You can do this:

import std.string, foo, std.stream;



December 20, 2003
Vathix wrote:
>>you would still have the order of include you want , it would just save
> 
> some typing
> 
>>just a thought :)
> 
> 
> 
> You can do this:
> 
> import std.string, foo, std.stream;
> 
> 
> 

oh, ok... sorry didnt know that was possible, thanks
December 20, 2003
Lewis wrote:
> Vathix wrote:
> 
>>> you would still have the order of include you want , it would just save
>>
>>
>> some typing
>>
>>> just a thought :)
>>
>>
>>
>>
>> You can do this:
>>
>> import std.string, foo, std.stream;
>>
>>
>>
> 
> oh, ok... sorry didnt know that was possible, thanks

Neither did I... :O  Sweet.  I was about to say how much I like this idea... guess I'll say how much I like that somebody did it (all hail Walter!?).

 - C. Sauls
 - Invironz

December 20, 2003
"C. Sauls" <ibisbasenji@yahoo.com> wrote in message news:bs2ek1$hde$1@digitaldaemon.com...
> Lewis wrote:
> > Vathix wrote:
> >
> >>> you would still have the order of include you want , it would just
save
> >>
> >>
> >> some typing
> >>
> >>> just a thought :)
> >>
> >>
> >>
> >>
> >> You can do this:
> >>
> >> import std.string, foo, std.stream;
> >>
> >>
> >>
> >
> > oh, ok... sorry didnt know that was possible, thanks
>
> Neither did I... :O  Sweet.  I was about to say how much I like this idea... guess I'll say how much I like that somebody did it (all hail Walter!?).
>
>   - C. Sauls
>   - Invironz


I was wondering why not many people were using it  :)



December 20, 2003
Vathix wrote:

>"C. Sauls" <ibisbasenji@yahoo.com> wrote in message
>news:bs2ek1$hde$1@digitaldaemon.com...
>  
>
>>Lewis wrote:
>>    
>>
>>>Vathix wrote:
>>>
>>>      
>>>
>>>>>you would still have the order of include you want , it would just
>>>>>          
>>>>>
>save
>  
>
>>>>some typing
>>>>
>>>>        
>>>>
>>>>>just a thought :)
>>>>>          
>>>>>
>>>>
>>>>
>>>>You can do this:
>>>>
>>>>import std.string, foo, std.stream;
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>oh, ok... sorry didnt know that was possible, thanks
>>>      
>>>
>>Neither did I... :O  Sweet.  I was about to say how much I like this
>>idea... guess I'll say how much I like that somebody did it (all hail
>>Walter!?).
>>
>>  - C. Sauls
>>  - Invironz
>>    
>>
>
>
>I was wondering why not many people were using it  :)
>
>
>
>  
>
Personally I find the single import easier to copy/paste.

December 20, 2003
Yea, i like them spread out makes it easier to read (for me ), i usually
dont do bit x, y, z, ab; either :).

C
"J Anderson" <REMOVEanderson@badmama.com.au> wrote in message
news:bs2k3g$ppq$2@digitaldaemon.com...
> Vathix wrote:
>
> >"C. Sauls" <ibisbasenji@yahoo.com> wrote in message news:bs2ek1$hde$1@digitaldaemon.com...
> >
> >
> >>Lewis wrote:
> >>
> >>
> >>>Vathix wrote:
> >>>
> >>>
> >>>
> >>>>>you would still have the order of include you want , it would just
> >>>>>
> >>>>>
> >save
> >
> >
> >>>>some typing
> >>>>
> >>>>
> >>>>
> >>>>>just a thought :)
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>You can do this:
> >>>>
> >>>>import std.string, foo, std.stream;
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>oh, ok... sorry didnt know that was possible, thanks
> >>>
> >>>
> >>Neither did I... :O  Sweet.  I was about to say how much I like this idea... guess I'll say how much I like that somebody did it (all hail Walter!?).
> >>
> >>  - C. Sauls
> >>  - Invironz
> >>
> >>
> >
> >
> >I was wondering why not many people were using it  :)
> >
> >
> >
> >
> >
> Personally I find the single import easier to copy/paste.
>