Difference between revisions of "Local variables/es"

From Free Pascal wiki
Jump to navigationJump to search
m (Text replace - "delphi>" to "syntaxhighlight>")
m
Line 8: Line 8:
 
  ...
 
  ...
 
  end;</syntaxhighlight>
 
  end;</syntaxhighlight>
 +
[[category:Español]][[category:Castellano]]

Revision as of 00:08, 25 November 2012

Deutsch (de) English (en) español (es) suomi (fi) русский (ru)

   Una variable local se define en un procedimiento o función, y únicamente pueden ser usadas en ese ámbito.

 procedure HacerAlgo; 
 var x:type
 begin
 ...
 end;