Difference between pages "File" and "Extern"

From Mesham
(Difference between pages)
Jump to navigationJump to search
(Created page with '== Syntax == File == Semantics == A file handle with which the programmer can use to reference open files on the file system == Example == var i:File; In this example vari…')
 
m (4 revisions imported)
 
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
  
File
+
extern[]
  
 
== Semantics ==
 
== Semantics ==
  
A file handle with which the programmer can use to reference open files on the file system
+
Provided as additional allocation type information, this tells the compiler NOT to allocate memory for the variable as this has been already done externally.
  
== Example ==
+
''Since: Version 0.5''
  
var i:File;
 
 
In this example variable ''i'' is explicitly declared to be of type ''File''.
 
 
== Communication ==
 
 
{{ElementTypeCommunication}}
 
 
[[Category:Element Types]]
 
 
[[Category:Type Library]]
 
[[Category:Type Library]]
 +
[[Category:Compound Types]]
 +
[[Category:Attribute Types]]

Latest revision as of 15:44, 15 April 2019

Syntax

extern[]

Semantics

Provided as additional allocation type information, this tells the compiler NOT to allocate memory for the variable as this has been already done externally.

Since: Version 0.5