You haven't made clear what you think is wrong.
Locative modifiers are discussed at
https://code.jsoftware.com/wiki/Vocabulary/com#What_Is_The_Implied_Locale_When_The_Body_Is_Executed.3F
Henry Rich
On 8/29/2020 7:04 PM, Paul Jackson wrote:
I have not seen this issue with verbs. I've encountered the same problem in
one locale which is part of the base name search, calling an adverb to
insure against the user having a masking name in base. I assume the same
issue occurs with conjunctions, but they are less common in my code so I
haven't tested that.
callS=: 3 : 0
0 0$1!:3&2 ' local ',;18!:5 ''
callSelf_plj_ y
)
callSelf_plj_=: 3 : 0
0 0$1!:3&2 ' local ',;18!:5 ''
'ic' Self_pj_ y
)
Self_pj_=: 1 : 0
0 0$1!:3&2 ' local ',;18!:5 ''
(<'now') m Self&.> y
:
x; m; y
)
callO=: 3 : 0
0 0$1!:3&2 ' local ',;18!:5 ''
callOther_plj_ y
)
callOther_plj_=: 3 : 0
0 0$1!:3&2 ' local ',;18!:5 ''
'ic' Other_pj_ y
)
Other_pj_=: 1 : 0
0 0$1!:3&2 ' local ',;18!:5 ''
m Another y
)
Another_pj_=: 4 : 0
x, ' ', y
)
callS 'ab'
local base
local plj
local plj
|value error: Self
| (<'now')m Self&.>y
|[-36]
callO 'cd'
local base
local plj
local plj
|value error: Another
| m Another y
|[-38]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm