Stampa un elenco ed esporta come file txtQuesto sarebbe possibile con JSL?
Per comodità vorrei che fosse stampato in un file txt separato.
La mia soluzione consumata sarebbe stamparla nel registro di debug che funzionerebbe anche ma dovresti entrare in modalità debug ogni volta che vuoi cercare qualcosa.
dt = Current Data Table();
L = dt << Get Column Names(String);
for(i = 1, i < N items(L)+1, i++,
Print(L[i],i); // prints the string in the list and it's position next to it
);
Automazione e scriptingRicerche sui consumatori e sul mercatoRe: Stampare un elenco ed esportarlo come file txtQuesto script scriverà i nomi delle colonne nel registro JMP, quindi lo salverà in un file di testo
Names Default To Here( 1 );
dt = Current Data Table();
L = dt << Get Column Names( String );
theText = "";
For( i = 1, i < N Items( L ) + 1, i++,
Write( L[i] || " " || Char( i ) || "\!n" );
theText = theText || L[i] || " " || Char( i ) || "\!n";
);
Save Text File( "path/filename.txt", theText );