The function LoadDlabFile opens and loads the data file (file extension .idt) specified by FName. The variable parameter FileVersion returns the version number of the file (i.e. the version number of the DataLab copy which has been used to save the file). The parameter ForceLoadingFutureVersion controls whether the file should be loaded in the case the FileVersion is greater than the DataLab version number.(1)
The function returns the following error codes:
0 ... data successfully loaded
-1 ... file not found
-2 ... the file is not an .IDT file (invalid format)
-3 ... the version of the file is newer than your DataLab copy (set ForceLoadingFutureVersion to TRUE in order to load it anyway)
|