Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <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:    Depending on the model specified at compile-time,
                sizeof(char near *) may or may not be the same as
                sizeof(char *).

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

                The default memory model is defined by the compile-time
                switch /A.

  -------------------------------- 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: far huge Switches

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