Options

how can i read binary file

shafeaashafeaa Member Posts: 54
hi
how can i read from binary and text file

and how can i write binary and text file

thanks

Comments

  • Options
    CharlehCharleh Member Posts: 44
    Use InStream and OutStream objects of the File type. You can write text or binary data to files using these methods - search for 'stream' in the C/AL reference guide
    Charleh
  • Options
    ViljoenViljoen Member Posts: 6
    The problem I have found is that I can read from the file with instreaming but it would break on every zero termination char. How can I import the complete contents and do calculations in one large string?


    Thx
    Francois
    Francois Viljoen
Sign In or Register to comment.