bildwelt
E2E FORUM
E2E Bridge E2E Commerce

Reply To: read and readLine of the same file in one synchronous call

E2E Forum Modeling & Development read and readLine of the same file in one synchronous call Reply To: read and readLine of the same file in one synchronous call

#496

Alfred
Moderator

For a read the file is opened, read and then immediately closed.

For a readLine the file stays open till the session is finished or you explicitly close the file.

But also doing first a readLine and then read should work because opening multiple file handles for reading should work.

What error do you get?
Do you also write anywhere to the file?