In J804 (and earlier) running the following verb would give the pathname of
the script that called it.

loc_z_=: 3 : 'jpath > (4!:4 <''y'') { 4!:3 $0'  NB. pathname of script
calling it

So a script that ran: MyPath=: loc ''
would assign the script's pathname to the noun MyPath.

In J805 this no longer appears to work as before. Instead the path returned
is /opt/j64_805/bin/profile.ijs

Is this change of behaviour expected/intended?

Cheers,

Engine: j805/j64/linux
Beta-16: commercial/2016-11-17T13:15:53
Library: 8.05.09
Qt IDE: 1.5.2s/5.5.1
Platform: Linux 64
Installer: J805 install
InstallPath: /opt/j64_805
Contact: www.jsoftware.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to