program "hangs up"
Richard Kreiss
rkreiss at gccconsulting.net
Tue Oct 7 13:52:10 PDT 2014
Windows server 2008
filePro 5.7.03.06
I have an output program which is not working properly.
At @once the program reads into an array all of the pdf files in the directory web_files. When all of the files are read in, the @once section should end.
The file name is in the format nnnn_yyyymmdd.pdf
The main portion of the program checks to see if there is a directory for the nnnn portion of the file name and if not makes the directory. If it exists, the file is copied to a directory TODAY and then moved into the correct NNNN directory.
Here is my problem:
1. Program starts and then stops without at the first program line of @once
2. If run with the debugger, as lone an enter is pressed the program lines in @once execute.
3. When the program hits the END of the @once processing, the program stops.
Batch file command line
%pfprog%\fp\dreport library -f move_pdf -y !! -s one -u
The array dim getfiles(5000)(20,*).
I adjusted the array to 900 elements as I thought this might be the problem. It isn't.
Yes, I could rewrite the program to post the files one at a time rather than reading them into an array.
But that doesn't answer the question of why the program stops before executing any code in @once unless the debugger is on.
Richard Kreiss
GCC Consulting
Office: 410-653-2813
More information about the Filepro-list
mailing list