Difference between pages "Char" and "File"
From Mesham
(Difference between pages)
Jump to navigationJump to searchm |
|||
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
− | + | File | |
== Semantics == | == Semantics == | ||
− | + | A file handle with which the programmer can use to reference open files on the file system | |
=== Default typing === | === Default typing === | ||
Line 13: | Line 13: | ||
== Example == | == Example == | ||
− | var i: | + | function void main() { |
− | + | var i:File; | |
+ | }; | ||
− | In this example variable ''i'' is explicitly declared to be of type '' | + | In this example variable ''i'' is explicitly declared to be of type ''File''. |
''Since: Version 0.41b'' | ''Since: Version 0.41b'' | ||
Line 22: | Line 23: | ||
== 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]] |
Revision as of 14:21, 15 April 2013
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.