D - import blocks
- Lewis (15/15) Dec 20 2003 Was just thinking that import blocks may be a handy thing to have
- Vathix (3/5) Dec 20 2003 You can do this:
- Lewis (2/16) Dec 20 2003 oh, ok... sorry didnt know that was possible, thanks
- C. Sauls (6/26) Dec 20 2003 Neither did I... :O Sweet. I was about to say how much I like this
- Vathix (4/30) Dec 20 2003 save
- J Anderson (2/47) Dec 20 2003 Personally I find the single import easier to copy/paste.
- Charles (5/60) Dec 20 2003 Yea, i like them spread out makes it easier to read (for me ), i usually
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 :)
Dec 20 2003
you would still have the order of include you want , it would just savesome typingjust a thought :)You can do this: import std.string, foo, std.stream;
Dec 20 2003
Vathix wrote:oh, ok... sorry didnt know that was possible, thanksyou would still have the order of include you want , it would just savesome typingjust a thought :)You can do this: import std.string, foo, std.stream;
Dec 20 2003
Lewis wrote:Vathix wrote: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 - Invironzoh, ok... sorry didnt know that was possible, thanksyou would still have the order of include you want , it would just savesome typingjust a thought :)You can do this: import std.string, foo, std.stream;
Dec 20 2003
"C. Sauls" <ibisbasenji yahoo.com> wrote in message news:bs2ek1$hde$1 digitaldaemon.com...Lewis wrote:saveVathix wrote:you would still have the order of include you want , it would justI was wondering why not many people were using it :)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 - Invironzsome typingoh, ok... sorry didnt know that was possible, thanksjust a thought :)You can do this: import std.string, foo, std.stream;
Dec 20 2003
Vathix wrote:"C. Sauls" <ibisbasenji yahoo.com> wrote in message news:bs2ek1$hde$1 digitaldaemon.com...Personally I find the single import easier to copy/paste.Lewis wrote:saveVathix wrote:you would still have the order of include you want , it would justI was wondering why not many people were using it :)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 - Invironzsome typingoh, ok... sorry didnt know that was possible, thanksjust a thought :)You can do this: import std.string, foo, std.stream;
Dec 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...Personally I find the single import easier to copy/paste.Lewis wrote:saveVathix wrote:you would still have the order of include you want , it would justI was wondering why not many people were using it :)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 - Invironzsome typingoh, ok... sorry didnt know that was possible, thanksjust a thought :)You can do this: import std.string, foo, std.stream;
Dec 20 2003