Difference between revisions of "Var"

From Lazarus wiki
Jump to navigationJump to search
(changed to be more clear)
Line 1: Line 1:
[[Keyword]] which is used to mark section, where variables and their data [[type]]s are declared.
+
[[Keyword]] which is used to mark section, where [[Variable|variables]] and their data [[Type|type]]s are declared.
 +
 
 +
<delphi>
 
   program/unit
 
   program/unit
 
   (..)
 
   (..)
Line 5: Line 7:
 
   (..)
 
   (..)
 
   begin
 
   begin
 +
  (..)
 +
  end.
 +
</delphi>
 +
 
[[category:Pascal]]
 
[[category:Pascal]]

Revision as of 07:20, 17 October 2007

Keyword which is used to mark section, where variables and their data types are declared.

<delphi>

 program/unit
 (..)
 var:(a,b):real;
 (..)
 begin
 (..)
 end.

</delphi>