AnsweredAssumed Answered

File opening and closing from different functions within a task.

Question asked by Kenny Koller on Sep 9, 2014
Latest reply on Oct 14, 2015 by thiagow

Hi Everyone,


If function A opens a device as a file then calls function B that opens this same device, writes, closes, and returns what is the state of the file that function A is referencing?


Something like:


f = open()


B(); // Opens same file, writes and closes.


write(f, ...)