Re: ver 4.0 include problem
- Posted by mattlewis (admin) Sep 02, 2008
- 966 views
DerekParnell said...
mattlewis said...
DerekParnell said...
It uses "std/" because that is the new standard location for v4 include files.
Although they really shouldn't need them, as the first place that is tried is from the same directory where the including file is located.
Oh!? I wasn't aware of that.
How would I code the situation where I wanted to get a file from the EUINC list rather than the same directory as the file doing the including?
The easiest thing would be to have the file you want in a subdirectory off of something in EUINC, similar to how we now have the standard library. Take a look at scanner:path_open() for the actual code that finds the files.
Matt