Dan, Thanks for replying. I would like to put a binary data “11001011 10110001 00000000 00000000 00000000 00000000” which in hex is “0xCBB100000000” into a file. I was trying to use function OCONV(“CBB100000000”, “MCNP”), But it seems doesn’t work. Would you provide a sample code to use an indirect reference to put the binary data into a file? Thanks so much! Sunny
On Oct 24, 1:53 pm, Daniel Klein <[email protected]> wrote: > You are correct in not introducing binary data into a hashed file item as it > could potentially contain bit patterns that jBASE sees as system delimiters. > > So, the way I would do it is to use an indirect reference. IOW, store the > binary data in some directory and place the full path to the binary file in > some attribute of the jBASE file. > > Dan > > > > On Fri, Oct 22, 2010 at 3:52 PM, JBASE Newbie <[email protected]> wrote: > > I am currently writing a jbase program for generating a file as > > output. In the program, I need to put some binary data into the output > > file, but I don't know how to do it. If anyone knows about it, please > > help me out. Thank you very much! > > > -- > > Please read the posting guidelines at: > >http://groups.google.com/group/jBASE/web/Posting%20Guidelines > > > IMPORTANT: Type T24: at the start of the subject line for questions > > specific to Globus/T24 > > > To post, send email to [email protected] > > To unsubscribe, send email to [email protected] > > For more options, visit this group at > >http://groups.google.com/group/jBASE?hl=en- Hide quoted text - > > - Show quoted text - -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
