file object

Discussions about editing and cleaning data
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

file object

Post 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.
Best
Ari
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: file object

Post 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.
Post Reply