Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Global pound define? (http://www.velocityreviews.com/forums/t59626-global-pound-define.html)

Andrew 07-14-2003 04:06 PM

Global pound define?
 
Is there a place you can globally #define so that
what's #define'd is in all classes' scope?

Such as #include - other .c files for C?

Thanks,

Andrew

Craig Deelsnyder [MVP] 07-15-2003 12:57 AM

Re: Global pound define?
 
Not really, AFAIK, each class has to declare what namespaces to import.
This uses the using keyword in C# or imports in VB.NET....

there's a good explanation of why this would really be a problem for an OO
language:

http://groups.google.com/groups?hl=e...=UTF-8&oe=utf-
8&threadm=dda1fb3a.0207221304.4d36d34b%40posting.g oogle.com&rnum=1&prev=/groups%3Fq%3DC%2523%2B%2523include%26num%3D50%26hl %3Den%26lr%3D%26ie%3DUTF-
8%26oe%3Dutf-8%26sa%3DN%26tab%3Dwg

depending on your point of view...



On Mon, 14 Jul 2003 09:06:40 -0700, Andrew <a@b.com> wrote:

> Is there a place you can globally #define so that what's #define'd is in
> all classes' scope?
>
> Such as #include - other .c files for C?
>
> Thanks,
>
> Andrew
>




--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET


All times are GMT. The time now is 05:44 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57