I still haven't done extensive research yet but I'm having some trouble
with load. I've been using load for the longest time that I am puzzled
with this problem.
load 'D:\Projects\SmartEOE\bin\eoe.ijs'
|domain error
| h =:([:;:^:_1"1[:<"1 hfd)@(([:,_4(_2&(3!:4))@|.\])^:(2=3!:0))
|[-7402] D:\Projects\SmartEOE\bin\eoe.ijs
But if I do the same thing using the 0!:0 primitives I don't get an
error.
0!:0 <'D:\Projects\SmartEOE\bin\eoe.ijs'
The "hfd" or hexfromdecimal is defined in convert.ijs
c:\j602\system\main\convert.ijs (4)
NB. hfd hex from decimal
NB.*hfd v hex from decimal
hfd=: H {~ 16 #.^:_1 ]
hex=: &. (dfh :. hfd)
with the actual value of:
hfd
'0123456789ABCDEF' {~ 16 #.^:_1 ]
Any ideas on what I should look for?
Thanks.
r/alex
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm