This trap call closes the file who's ID is passed in A0.L.
<A NAME="Trap2_02"> <table>
Call Parameters | Return Parameters | ||
---|---|---|---|
D0.B | $02 | D0.L | Error code. |
A0.L | Channel id to close. | A0.L | Corrupted. |
ERR_NO | Channel not open. |
There is an example here showing how to open and close a file.