-
Notifications
You must be signed in to change notification settings - Fork 82
The Harlan Library
Eric Holk edited this page Oct 14, 2013
·
3 revisions
These libraries are included in every Harlan program, providing what is considered essential in any program.
open_outfile :: (str) -> (ptr ofstream)
Arguments:
-
name :: str
- The name of the file to open.
Return Value: A file pointer that can be used with close_outfile
and as a target for print
and println
.
close_outfile :: ((ptr ofstream)) -> void)
Arguments:
-
file :: (ptr ofstream)
- A file to close. This should have been returned byopen_outfile
.
Return Value: None.