4 Replies Latest reply: May 4, 2016 5:51 AM by s Walter RSS

    How to show variables value in output window?

    s Walter



      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)



                                    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?