Global variables/ru
Глобальная переменная - это переменная, которая объявляется в главной секции программы или в разделе interface модуля. Глобальные переменные, объявленные в программе, не могут быть доступны внутри модуля. Глобальные переменные, объявленные в модуле, могут быть доступны в программе и в других модулях.
program GlobalVariables;
var
g: integer;
begin
end.g является глобальной переменной.
Внешние переменные
Внешняя переменная - это глобальная переменная, объявленная в разделе interface модуля.
Читайте подробнее
From the Free Pascal wiki, page "Global variables/ru", as it stood on 2018-05-25 after a change by Useroflazarus, 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.
Edited on wiki.freepascal.org by 1 person, 2018
From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.
| When | Who | What changed |
|---|---|---|
| Useroflazarus | Created page | |
| Useroflazarus |
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
