
PT-20 Programming Guide
to the file (includes the null character). In case of error, writeln
returns an integer value of -1 and an error code is set to the global
variable fErrorCode to indicate the error condition encountered.
Possible error codes and their interpretation are listed below.
2:File handle is NULL.
7:fd is not a file handle of a previously opened file.
9:no null character found in buffer
10:No more free file space for file extension.
The DiskC_format function formats disk C.
0 : Format false。
1 : Format OK。
The DiskC_format function formats disk D.
0 : Format false。
1 : Format OK。
Checking the total space in disk C.
unsigned int DiskC_totalsize (void);
The DicskC_totalsize function returns the used space in disk C.
0xffffffff : Disk C unformatted.
Others : The total space in disk C.(Bytes)
Checking the total space in disk D.
unsigned int DiskD_ totalsize (void);
Komentarze do niniejszej Instrukcji