Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
i want to see some values from variables in a script like this in the output window
Set vConcatenate = ;
sub ScanFolder(Root)
for each FileExtension in 'csv'
for each FoundFile in filelist( Root & '\*.' & FileExtension)
FileList:
$(vConcatenate)
LOAD *, '$(FoundFile)' as SourceFile
FROM [$(FoundFile)] (txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);
Set vConcatenate = Concatenate;
next FoundFile
next FileExtension
for each SubDirectory in dirlist( Root & '\*' )
call ScanFolder(SubDirectory)
next SubDirectory
end sub
Call ScanFolder('C:\Users\hic\Documents\2012\Work\QV Apps\DoDir') ;
How can i see the value from "Root" or "vConcatenate" for example?
regards,
René
I don't think the output of execution of the script is shown there.
But you can try using the Trace command: TRACE $(vConcatenate);
I don't think the output of execution of the script is shown there.
But you can try using the Trace command: TRACE $(vConcatenate);
Hi Walter,
In debug mode, you can watch your variables values.
G.
Thank you, this is helpfull.
regards,
René
Thank you!