Sign in Join
Wiki copytemporary

Global variables/ru: what changed

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

Title: Global variables/ru

OldNewLine
1+Глобальная [[Variable/ru|переменная]] - это переменная, которая объявляется в главной секции программы или в разделе interface [[Unit/ru|модуля]]. Глобальные переменные, объявленные в программе, не могут быть доступны внутри [[Unit/ru|модуля]]. Глобальные переменные, объявленные в [[Unit/ru|модуле]], могут быть доступны в программе и в других модулях.
2+
3+` program GlobalVariables;`\
4+` var`\
5+`   g: integer;`\
6+` begin`\
7+` end.`
8+
9+**g** является глобальной переменной.
10+
11+## Внешние переменные
12+
13+Внешняя переменная - это глобальная переменная, объявленная в разделе [[Interface/ru|interface]] [[Unit/ru|модуля]].
14+
15+## Читайте подробнее
16+
17+- [[Var/ru|Var]]
18+- [[Local variables/ru|Локальные переменные]]
19+
20+---
21+*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](/wiki-contact).*
22+Category: Pascal/ru

Back to history