Advertisement

FAR Pointers

Started by June 05, 2001 08:05 AM
1 comment, last by the_grip 23 years, 8 months ago
Question... what the heck do FAR*''s do? i can''t find any documentation on them, except that WIN32 compilers (well, at least according to MSFT) redefine FAR and NEAR so that they are meaningless and overlooked when compiled. Yet i see them all over the place... any help is appreciated. "You call him Dr. Grip, doll!"
"You call him Dr. Grip, doll!"
"FAR" means that the address that you want is not in the same memory segment that the current segment. "NEAR" means that the address is in the same.
But these keywords are obsolete with today's compilers, so you can ignore them when you see them if your compiler is 32 bit.

Edited by - HiddenInBSP on June 5, 2001 9:20:50 AM
Advertisement
Thanks... that makes things much clearer.

"You call him Dr. Grip, doll!"
"You call him Dr. Grip, doll!"

This topic is closed to new replies.

Advertisement