I need to compile a Foxpro 8 project in Foxpro 5. On building the application I get errors on the JustStem and JustPath functions ( which don't exist in Foxpro 5). Therefore I need to rewrite these so Foxpro 5 will allow the build. If anyone has the code which will emulate either or both of these functions I would be very grateful for any pointers on how to code these.