Difference between revisions of "Local variables"
From Lazarus wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) |
m |
||
Line 1: | Line 1: | ||
{{Local variables}} | {{Local variables}} | ||
− | + | A local variable is defined inside a [[Procedure|procedure]], [[Function|function]] or [[Method|method]] and is only accessible from there. | |
procedure DoSomething; | procedure DoSomething; | ||
var x:type | var x:type |
Revision as of 13:51, 10 March 2015
│
Deutsch (de) │
English (en) │
español (es) │
suomi (fi) │
русский (ru) │
A local variable is defined inside a procedure, function or method and is only accessible from there.
procedure DoSomething; var x:type begin end