Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>near near -- non-standard type modifier</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 near                    near -- Non-Standard Type Modifier

    A near data item (or function) resides in the default data (or
    current code) segment.  Its address is 16 bits long.

      Notes:    Variables declared with class auto are always near, since
                they reside on the run-time stack.

   -------------------------------- Example ---------------------------------

           int near value;
           double near table[100];
           char near *fpc;
           char near **fppc;
           char near * near *fpfpc;
           long int near * near check(char near, int, int near);
           int (near *funptr)();

           i = sizeof(char near *);


See Also: huge far

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson