Deleting an existing flash in the specified device.
Syntax |
flashDiskDelete(string flash, uint @nackx, uint gid=0): bool |
---|---|
flash |
Name of the flash to be deleted |
nackx |
Reference to any extended NACK code, in case of error |
gid |
Identifier of the graphical percentage element, if any, to be used, which can be created with the addGauge() function |
Result |
Returns logical outcome of operation |
Annotation:
•Erase is supported only for compact type flash.
•Erasure also implies the irretrievable loss of all its contents.
•The extended NACK code contains the actual NACK code in loWord(nackx) and any additional information in hiWord(nackx).