Write entire file: Difference between revisions
no edit summary
m (added a ;Task: (bold) header, added other whitespace to the task's preamble.) |
No edit summary |
||
Line 100:
Option FORM="BINARY" ''does'' allow the reading or writing of however many records are needed to satisfy the I/O list, but, this is not a standard usage.
=={{header|Haskell}}==
<lang Haskell>main :: IO ( )
main = do
putStrLn "Enter a string!"
str <- getLine
putStrLn "Where do you want to store this string ?"
myFile <- getLine
appendFile myFile str</lang>
=={{header|J}}==
|