Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to show variables value in output window?

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?

2016-05-04_11h00_55.jpg

regards,

René

1 Solution

Accepted Solutions
Gysbert_Wassenaar

I don't think the output of execution of the script is shown there.

But you can try using the Trace command: TRACE $(vConcatenate);


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar

I don't think the output of execution of the script is shown there.

But you can try using the Trace command: TRACE $(vConcatenate);


talk is cheap, supply exceeds demand
undergrinder
Specialist II
Specialist II

Hi Walter,

In debug mode, you can watch your variables values.

Névtelen.png

G.

Anonymous
Not applicable
Author

Thank you, this is helpfull.

regards,

René

Anonymous
Not applicable
Author

Thank you!