Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FKY files

Status
Not open for further replies.

fjagdis

Programmer
Aug 12, 2001
27
CA
My program generates a FKY file each time it is run. I believe that this is a memo file. Can you tell me how I can switch this off ?
THANKS
 
.FKY files are macro 'definition' files. Are you creating any of these, using SAVE MACROS or something like that?

Dave S.
 
No I am not using a SAVE MACRO command anywhere. I am, however, programming a function Key....could this be the place that the macro is generated ?
 
Hi fjagdis,

You could try to find the program-line responsible for the creation of this *.fky-file by
placing something like the following into your program at some points (just to check...and then
delete later on)...

IF FILE("myfkyfile.fky") &&replace the filename with your *fky-file-name
wait window alltr(str(lineno())) + " Here my file is alreay created"
modif command...... && to see where you are in your program....
ENDIF

I would place this test-code in the middle of my program and then step by step
half the distance from the beginning up or down again until you have found the line which produces
the file. Everytime your *.fky-file has to be deleted first before starting the test-program again....

Of course you could also look for the file if NOT EXISTING if this is easier for you....

If .not. file ....and so on...

Hope that helps

Regards from Germany

Klaus
 
Thanks guys.
I will work through the code that Klaus suggested to find out where the file is generated. In the meanwhile I have placed a DELETE FILE *.FKY at the start of the program and this will remove the fky files. I have not noticed and problems with that or any deterioration in performance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top