Near: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Near
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Back to [[Reserved words]]. | |
| 2 | + | ||
| 3 | + | The reserved word **near**: | |
| 4 | + | ||
| 5 | + | - belongs to 16 bit programming (DOS, Windows 3.x); | |
| 6 | + | - allows subroutines in memory areas to be started only within the 64KB limit; | |
| 7 | + | - allows DLLs in memory areas to be accessed only within the 64KB limit; | |
| 8 | + | - became obsolete with 32-bit programming. | |
| 9 | + | ||
| 10 | + | Example: | |
| 11 | + | ||
| 12 | + | ``` pascal | |
| 13 | + | ... | |
| 14 | + | procedure subTest; near; | |
| 15 | + | ... | |
| 16 | + | ``` | |
| 17 | + | ||
| 18 | + | --- | |
| 19 | + | *From the Free Pascal wiki, page "Near", as it stood on 2020-02-14 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
