Re: ed.ex :: auto-loading directory files into ed.ex's file_history
- Posted by K_D_R Jan 21, 2012
- 1339 views
True to form, I left out a couple of steps:
The sequence file_name should be initialized with a value that does not contain an absolute path. I simply set it to "null".
sequence file_name = "null"
Also, the first call to the procedure load_files_from_directory should be made before ed gets started initializes with the first file_name, so you may as well call it immediately after the procedure itself. I edited the original post with two arrows
--<<----**
pointing to the two needed changes.
Regards, Kenneth Rhodes