MADRIX Forum • Madrix script ReadAsync
Page 1 of 1

Madrix script ReadAsync

Posted: Wed Nov 15, 2017 12:11 pm
by qniens
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

Re: Madrix script ReadAsync

Posted: Thu Nov 16, 2017 12:54 pm
by Guertler
Hello qniens,

Thank you for the feedback and input.
We will add this wish to the MADRIX feature wish list and talk to the developers about it.