Sign in Join
Wiki copytemporary

Forward: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Forward

OldNewLine
1+Back to [[Reserved words]].
2+
3+The modifier **forward**:
4+
5+- belongs to the programming of subroutines;
6+- allows subroutines to be seen by other subroutines before they are declared in the code.
7+
8+Example:
9+
10+``` pascal
11+ ...
12+ function subTest(); forward;
13+ ...
14+```
15+
16+---
17+*From the Free Pascal wiki, page "Forward", as it stood on 2020-02-16 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).*

Back to history