Page 1 of 1

file object

Posted: June 16th, 2020, 3:01 pm
by AriSilva
Hi folks,
The file object has some functions, like read, open, close, but there is no function to set it. Why not?
myfile.set(filename);

Just for the sake of completeness, there is no relevance nor priority to this issue.

Re: file object

Posted: June 16th, 2020, 3:09 pm
by josh
file.open(filename) is the equivalent of setfile(filename). We decided to use file.open() rather than file.set() to be more consistent with other programming languages.