Madrix script ReadAsync
Posted: Wed Nov 15, 2017 12:11 pm
Hi all,
ReadAsync(string file, string txt) must be used with an absolute path to the file.
For example:
string file = "C:\show\data\data.txt";
I would be nice if it can also be a relative path.
For example:
string file = "data.txt";
And Madrix script engine will search for the file in the same directory as the current script.
This way you can change the working directory without having to change the paths in the script.
Best regards,
Quinten
ReadAsync(string file, string txt) must be used with an absolute path to the file.
For example:
string file = "C:\show\data\data.txt";
I would be nice if it can also be a relative path.
For example:
string file = "data.txt";
And Madrix script engine will search for the file in the same directory as the current script.
This way you can change the working directory without having to change the paths in the script.
Best regards,
Quinten