From Advanced Computers Wiki
The ManagedMassStorageUD component is what backs Hard Disk Drives and Floppy Disks. This virtual component offers the following properties:
PunchcardReaderUD component properties
| Name |
Type |
Read/Write |
Description
|
totalCapacityBytes |
integer |
READ |
Total capacity of this drive (capacity is currently not limited, so this is not meaningful currently)
|
PunchcardReaderUD component methods
| Name |
Type |
Description
|
:open(string:filePath[, string:mode=r]) |
filehandle |
| mode
|
Attempted action
|
| r
|
Open an existing file in read-only mode.
|
| r+
|
Open an existing file in read-write mode.
|
| w
|
Open a potentially existent file, erase the contents and open it in write-only mode.
|
| w+
|
Same as w but also allows reading.
|
| a
|
Open or create a new file, do not erase the contents, allow only appending.
|
|
Navigation
|
|---|
| Blocks
| |
|---|
| Items
| |
|---|
| Cables
| |
|---|
| Virtual Components
| |
|---|
| Other
| |
|---|