<div dir="ltr">NCL team,<br><br>The documentation for fbindirwrite says that the second argument may be of any type. This fails for arguments of type character and string:<div><br></div><div>Platform = Mac OS 10.9.4, x86_64</div>
<div>NCAR Command Language Version 6.2.0<br><br></div><div>ncl 0> str = "abcdef"<br>ncl 1> fbindirwrite ("test.bin", str)<br>fatal:Argument type mismatch on argument (1) of (fbindirwrite) can not coerce<br>
fatal:["Execute.c":8565]:Execute: Error occurred at or near line 1<br><br>ncl 0> chars = stringtochar ("abcdef")<br>ncl 1> fbindirwrite ("test.bin", chars)<br>fatal:Argument type mismatch on argument (1) of (fbindirwrite) can not coerce<br>
fatal:["Execute.c":8565]:Execute: Error occurred at or near line 1<br></div><div><br></div><div>Numerics work fine. Please add this to the bug list with low priority. I only found this while looking at that mixed types problem. Thank you.</div>
<div><br></div><div>--Dave</div></div>