Page 1 of 1

GetCurrentDirectory()

Posted: Sun May 14, 2017 10:41 am
by Peter
Hello Fred,

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()
Image

Thanks in advance & Greetings ... Peter