What's new

Import / Export to Data folder??

Tod

Senior Member
I’ve got this working in other programs, but can’t get it to work in my current project.

I thought that if the Data, Instruments, Resources, and Samples folders were all located together in a main folder, then saving or exporting to the Data folder was automatic if you have the right correlating file names??

This is basically what I've used in the other programs.

Code:
if ($cnt2=1)
        select ($Imp_Exp_Menu)
          case 7
            $save_arr_id := save_array(%Pre1,1)
          case 8
            $save_arr_id := save_array(%Pre2,1)
          case 9
            $save_arr_id := save_array(%Pre3,1)
          case 10
            $save_arr_id := save_array(%Pre4,1)
        end select
        call File_Saved
end if

Is there a variable or command that I'm missing to make this happen?
 
Data folder will always be next to the NKR. Your library should not contain the Resources folder if you're deploying it to the wide world (instead NKR should be repacked to contain the latest data from the Resources folder).

If you want the NKA location to be explicit, use load/save_array_str().
 
Top Bottom