Since I have some quite memory expensive calculations to do, I exported my results as lists in the .mx format. Now our office has upgraded to Mathematica 11.1.1. While before 11.1.1 it was also possible to open the file within mathematica without importing. It is now only possible to read the .mx files by using mathematica's Import[] function. And, even worse, it is not possible anymore to import the ".mx" files with a earlier versions of mathematica. On our system we have installed versions 8, 9 and 11. Mathematica 8 and 9 cannot import ".mx" files that have been generated with the Export function of Mathematica 11.
I have Version 9 on my laptop installed and there I did most of the developing, but since our main computer is much faster I was counting on being able to run all the calculations there. Now however, it seems that I would need a entirely different code by exporting into something like ".text" format, which requires then {} around the Import command such that it can be used as an input for Mathematica's interpolation function.
Is there a command for Mathematica 11 such that it generates ".mx" that are readable by versions 8 or 9 ?
Edit: This comment was very helpful Save open Mathematica Notebook from command line or second Notebook to avoid data loss
In order to make it work for me I had to modify it with [[1,1]] in the importing command
zimport[filename_] := Uncompress@Import[filename, "String"][[1, 1]]
zexport[filename_, data_] := Export[filename, Compress[data], "String"]
This seems stable in all directions between windows, linux and v11 and 9.
Compression is not neccessarily needed for functionality, but is of course very nice if a large amount of files, or big ones, are copied in between different systems.