why does not this word be executed<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />prefilepath=Set Default Directory( "C:\Users\Administrator\Desktop\新建文件夹\" );
filepath= Convert File Path( prefilepath, Windows );
filelists = Files In Directory(filepath);
lotfile="DFB-B2";
nf=N Items( filelists );
cctable= New Table( lotfile);//make an empty table
cctable<
For( iii = 1, iii<= nf, iii++,
filenow=(filelists[iii]);
// If( Ends With( files, ".csv" ),
dt= Open( filelists[iii] );
dt<
:Source<
dt<
:lotNO<
dt<
cctable << Concatenate( Data Table( dt ), Append to first table );
// Text Box( Regex( files, "(.+?)_", "\1" ) ) << journal; // All text before first "_" in file i's name is journaled
close(dt,nosave);
);
cctable<
who can tell me why the last line is invalid??
Re: why does not this word be executedI did not read your code carefully, sorry. What messages are in the Log Window? I think the <
<< save("C:\Users\Administrator\Desktop\新建文件夹 (2)\" || "Concatenated data.jmp");
or
<< save("C:\Users\Administrator\Desktop\新建文件夹 (2)\Concatenated data.jmp");
Re: why does not this word be executedcctable= New Table( lotfile); //make an empty table
i don't think cctable is a column;
so there may be something else wrong?
Re: why does not this word be executedcctable is a column. dt is a data table. <
dt << save("C:\Users\Administrator\Desktop\新建文件夹 (2)\","Concatenated data.jmp");
edit: it looks like the data table, dt, is closed inside the loop. More changes may be needed.