Global variables/fi
Globaalit muuttujat
Globaali muuttuja on sellainen muuttuja joka esitellään ohjelman pääohjelmassa tai käännösyksikön (unit) interface-osassa (rajapinnassa). Pääohjelmassa esiteltyjä globaaleja muuttujia ei voi käyttää käännösyksiköissä. Käännösyksiköissä esiteltyjä globaaleita muuttujia voidaan käyttää pääohjelmassa tai muissa käännösyksikössä.
program GlobalVariables;
var
g: integer;
begin
end.g on globaali muuttuja.
Ulkoinen muuttuja
Ulkoinen muuttuja on globaali muuttuja, joka on ilmoitettu käännösyksikön interface rajapinnassa.
Katso myös
From the Free Pascal wiki, page "Global variables/fi", as it stood on 2019-06-23 after a change by Djzepi, 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, 2019
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 |
|---|---|---|
| Djzepi | Created page | |
| Djzepi |
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
