Hi,
For datalogging, it would be cool to have in the script language "st.appendToFile(filename)" just like saveToFile, but not erasing the file each time it is open.
the procedure
procedure SaveToTextFile;
begin
st.create;
st.loadFromFile(fname.asString);
st.add(input.asString);
st.saveToFile(fname.asString);
st.free;
end;
would become
procedure SaveToTextFile;
begin
st.create;
st.setText(input.asString);
st.AppendToFile(fname.asString);
st.free;
end;
Cheers
Olivar
new script function : appendToFile
new script function : appendToFile
http://oli-lab.org
Win10 I7/16GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Facebook
http://www.facebook.com/pages/OLI_LAB/3 ... 506?v=wall
Win10 I7/16GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Facebook
http://www.facebook.com/pages/OLI_LAB/3 ... 506?v=wall
will be implemented in the next major release.
Olivier Sens
www.brainmodular.com
www.brainmodular.com