result: integer
Number of the opened file (handle). This value must be given to other functions: ASfClose, ASfRead, ASfWrite and so on.
Result is -1 in case of error.
mode: optional integer
Open mode of the file
The default value is: ASfoRead
Connection (optional)
Connection to AS/400.