-
Amend Entire Works in memory but not with a handle?
I’ve noticed some weird behaviour with amend entire using lists of lists. The behaviour is different depending on whether on I use a file handle or pass the list directly to the function. Code to recreate is pasted below:
weirdPartition:(1 2 3f;();enlist 1 2 3);
file:`:./tester/weirdPartition;
file set weirdPartition;
addToWeirdPartition:(1 2 3f;4 5 6f);// amend at?
// handle doesn’t work? type error?
.[file;();,;addToWeirdPartition]
// in memory works?
.[get file;();,;addToWeirdPartition]Anyone explain why it does not work with a handle?
Log in to reply.