User manual

mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
289
Cf_Fat_Rewrite
Cf_Fat_Append
Cf_Fat_Delete
Prototype
sub procedure Cf_Fat_Rewrite()
Description Opens currently assigned le for writing. If the le is not empty its content will be erased.
Parameters None.
Returns Nothing.
Requires CF card and CF library must be initialized for le operations. See Cf_Fat_Init.
The le must be previously assigned. See Cf_Fat_Assign.
Example
‘ open le for writing
Cf_Fat_Rewrite()
Notes None.
Prototype
sub procedure Cf_Fat_Append()
Description Opens currently assigned le for appending. Upon this function execution le pointers will be positioned
after the last byte in the le, so any subsequent le writing operation will start from there.
Parameters None.
Returns Nothing.
Requires CF card and CF library must be initialized for le operations. See Cf_Fat_Init.
File must be previously assigned. See Cf_Fat_Assign.
Example
‘ open le for appending
Cf_Fat_Append()
Notes None.
Prototype
sub procedure Cf_Fat_Delete()
Description Deletes currently assigned le from CF card.
Parameters None.
Returns Nothing.
Requires CF card and CF library must be initialized for le operations. See Cf_Fat_Init.
File must be previously assigned. See Cf_Fat_Assign.
Example
‘ delete current le
Cf_Fat_Delete()
Notes None.