it would be nice, if we had a native GetCurrentDirectory():
Code: Select all
Procedure.s GetCurrentDirectory() ; Returns the current path for the application.
! var href = window.location.href;
! return href.substring(0, href.lastIndexOf('/')) + "/";
EndProcedure
Debug GetCurrentDirectory()
Thanks in advance & Greetings ... Peter