how can i read binary file

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

and how can i write binary and text file

thanks

Comments

  • Charleh
    Charleh 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
  • Viljoen
    Viljoen 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