\euphoria\include\pathlib?
- Posted by Rudy Toews <rltoews at PANGEA.CA> Nov 22, 1998
- 521 views
good day, i have downloaded several programs from various people to enhance my Euphoria knowledge. i want to start a project to build a cross-reference of include statements which will allow a pre-processor to eliminate uneeded ones but still include the remaining source. the problem i encountered recently was nested includes. the same variable was used in both programs but was typed a constant in the first program and so an error was flagged. a second confusion occurred when i wanted to keep programs from two different programmers doing a similar thing in seperate directorys. this way i could test the newer one while letting my older programs continue to operate until they are updated. if a standard could be setup with programmers to have their programs use a full path in their include statements then old programs wouldn't have to be changed enmass. the newly written programs would use the new path. Euphoria's search pattern is still crippled by Dos's system. Dos's path statement is only a pointer to a destination not truly a path at all. since none of the directories in the path are searched. i tried to re-direct the include statements by creating files.e in the include directory with only one line in it: include \euphoria\include\textgui\files.e and in the program use: include files.e but the euphoria pre-processor didn't accept duplicate includes. maybe the future we can simply create a single file listing the search parameters for the euphoria system. a true path facility. also , a challenge to all who write to this mailing list for the month of december. if your email was a file on your computer, you would have a path to describe where it was right? the challenge is to have your subject line for your email have a path too. that way people talking about the same subject would have their responses all together on the archives. i have seen different phrasing of the same problem several times. try it just for december. if i get enought email on this i will post the results on the archive as a survey. rudy rltoews at pangea.ca