Global pound define?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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
    Andrew Guest

  2. Similar Questions and Discussions

    1. How to define a Global Histroy Manage
      Hi, there According to the Livedoc (Implementing the saveState() and loadState() methods in the History Manager charpter), it seems every component...
    2. Pound signs in a URL
      Hi, Let's say for instance, I have an URL such as: www.mysite.com/root/programming/cfdirectory.cfm?debug=0&currentDir=dir3_C#Help&d epth=2 ...
    3. About Using the pound (#) sign
      Hello all I am currently passing variables in URL and came across a case where the value of my variable contains the pound sign: ...
    4. How can I use a regular Pound Sign?
      Hi, Anyone know how I can use a regular pound sign, without the ColdFusion compiler causing an error? I want to make lines such as: #1 #2...
    5. define global variables through a repeat loop
      Is it possible to define new global variables through a repeat loop so they have the same name but numbered according to the position within the...
  3. #2

    Default 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:

    [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-[/url]
    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
    Craig Deelsnyder [MVP] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139