Browse thread
Question about try.. with
- christian konrad
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | christian konrad <konrad@i...> |
| Subject: | Question about try.. with |
Hello list,
I'm doing that:
let _ =
try
let infile = open_in !filename in
let rec readIn () =
try
(input_line infile) ^ readIn();
with ee -> "";
in
print_string(readIn () );
"good";
with e -> "";;
So why don't I get any output at all? Doesn't "with" erease the raised
Exception?
Thanks and cheers, chris