Global pound define?

Discussion in 'ASP .Net' started by Andrew, Jul 14, 2003.

  1. Andrew

    Andrew Guest

    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
     
    Andrew, Jul 14, 2003
    #1
    1. Advertising

  2. 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=en&lr=&ie=UTF-8&oe=utf-
    8&threadm=dda1fb3a.0207221304.4d36d34b%40posting.google.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 <> 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
     
    Craig Deelsnyder [MVP], Jul 15, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jerry III

    Re: Pound Sign in text emails

    Jerry III, Oct 15, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    4,509
    Jerry III
    Oct 15, 2003
  2. Chris
    Replies:
    2
    Views:
    913
    Chris
    Jul 15, 2004
  3. =?Utf-8?B?bTAwbm0wbmtleQ==?=

    streamreader will not read UK pound sign!!!

    =?Utf-8?B?bTAwbm0wbmtleQ==?=, Nov 21, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    5,290
  4. =?Utf-8?B?TGFycnk=?=
    Replies:
    2
    Views:
    656
    =?Utf-8?B?TGFycnk=?=
    Jan 2, 2006
  5. eiji
    Replies:
    5
    Views:
    497
    Rolf Magnus
    Dec 6, 2005
Loading...

Share This Page