Persisting context with handle from hopen?

Content-Disposition: inline Hello,

Why does the following result in a error? Or am I missing something?

q)d: hopen :c:/j/out/d.q q)d set value .
:[“type”]

Thanks,
Yuva

I can see what you’re trying to do, but set doesn’t work that wayd is a file handlebut set needs a file name to save to, not a file handle:foo/goo set value.would workas a separate issue persisting data (ie binary data) to a .q file isgoing to be confusing2008/6/28 Yuvaraj Athur Raghuvir <yuvaraj.a.r>:> Hello,>> Why does the following result in a error? Or am I missing something?>> q)d: hopen :c:/j/out/d.q&gt; q)d set value .> :[“type”]>>> Thanks,> Yuva>>> >></yuvaraj.a.r>