file object

Discussions about editing and cleaning data
Post Reply
AriSilva
Posts: 471
Joined: July 22nd, 2016, 3:55 pm

file object

Post by AriSilva » June 16th, 2020, 3:01 pm

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.
Best
Ari

josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: file object

Post by josh » June 16th, 2020, 3:09 pm

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.

Post Reply