MM.ERRNO
Is set to the error number if a statement involving the SD card fails or zero if the operation succeeds. This is dependent on the setting of OPTION ERROR. The possible values for MM.ERRNO are:
0 = No error
1 = No SD card found
2 = SD card is write protected
3 = Not enough space
4 = All root directory entries are taken
5 = Invalid filename
6 = Cannot find file
7 = Cannot find directory
8 = File is read only
9 = Cannot open file
10 = Error reading from file
11 = Error writing to file
12 = Not a file
13 = Not a directory
14 = Directory not empty
15 = Hardware error accessing the storage media
16 = Flash memory write failure
See also:
CHDIR
CLOSE
COPY
CWD$
DIR$
DRIVE
EOF
FILES
INPUT#
INPUT$
KILL
LINE INPUT
MKDIR
NAME
OPEN
OPTION ERROR
PRINT
RMDIR
WRITE
Leave a Reply