Difference between revisions of "File"
From Mesham
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 (5 revisions imported) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
A file handle with which the programmer can use to reference open files on the file system | A file handle with which the programmer can use to reference open files on the file system | ||
+ | |||
+ | === Default typing === | ||
+ | |||
+ | {{ElementDefaultTypes}} | ||
== Example == | == Example == | ||
− | var i:File; | + | function void main() { |
+ | var i:File; | ||
+ | }; | ||
In this example variable ''i'' is explicitly declared to be of type ''File''. | In this example variable ''i'' is explicitly declared to be of type ''File''. | ||
+ | |||
+ | ''Since: Version 0.41b'' | ||
== Communication == | == Communication == | ||
− | + | It is not currently possible to communicate file handles due to operating system constraints. | |
[[Category:Element Types]] | [[Category:Element Types]] | ||
[[Category:Type Library]] | [[Category:Type Library]] |
Latest revision as of 15:44, 15 April 2019
Syntax
File
Semantics
A file handle with which the programmer can use to reference open files on the file system
Default typing
In the absence of further type information, the following types are added to the chain:
Example
function void main() { var i:File; };
In this example variable i is explicitly declared to be of type File.
Since: Version 0.41b
Communication
It is not currently possible to communicate file handles due to operating system constraints.