happens on windows too.

j64-805/bin/profile.ijs


this still works though (in a script)


MYDIR =: getpath_j_  '\/' rplc~ > (4!:4<'thisfile'){(4!:3)  thisfile=:''

________________________________
From: Ric Sherlock <[email protected]>
To: Beta forum <[email protected]> 
Sent: Thursday, November 24, 2016 4:47 PM
Subject: [Jbeta] Change in behaviour of 4!:3 ?


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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to