475
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
The disk will also be dismounted if your application invokes the
method or uses the
to write to a sector belonging to a mounted
-1).
.Numservicesectors R/O Property
Function:
Returns the total number of sectors occupied by the
"housekeeping" data of the currently existing flash disk.
Type:
Byte
Value Range:
Value depends on the current disk formatting.
See Also:
,
,
,
Details
) for this property to return a
meaningful value.
.Open Method
Function:
Opens a file with a specified name "on" a currently
selected file number (selection is made through the
).
Syntax:
fd.open(byref name as string) as
pl_fd_status_codes
Returns:
One of the following
, also affects
:
0- PL_FD_STATUS_OK: Completed successfully.
1- PL_FD_STATUS_FAIL : Physical flash memory failure
(fatal).
2- PL_FD_STATUS_CHECKSUM_ERR: Checksum error has
been detected in one of the disk sectors (fatal).
3- PL_FD_STATUS_FORMAT_ERR: Disk formatting error
has been detected (fatal).
8- PL_FD_STATUS_NOT_READY: The disk is not mounted.
9- PL_FD_STATUS_NOT_FOUND: File not found.
11- PL_FD_STATUS_ALREADY_OPENED: This file is
already opened "on" some other file number.
See Also:
Par
t
Description
na
me
A string (1-56 characters) with the file name. All characters after the first
space encountered (excluding leading spaces) will be ignored. File names
are case-sensitive.
467
483
483
441
454
458
483
467
474
463
472
472
443