大家好,
我有需要檢查的文件是否存在於文件夾中。 如果不存在,會提示哪些文件名不在我的列表中。 這是我的代碼片段:
//Sample Data
dt = Open( "$SAMPLE_DATA/Quality Control/Diameter.jmp" );
New Column ("Machine Op", Character,
Formula
( "Machine_" || :MACHINE || " Op_" || :OPERATOR )
);
dt_list =associative array(column(dt, "Machine Op" ) <<GET values=""></GET><BR />/* if dt_list does not exist in fileNames, prompt data table with missing file */