Saving all the contents of the specified flash to the corresponding save flash, which is automatically created and reserved for that purpose with the flashDiskCreate() function.
Syntax |
flashDiskBackup(string flash, uint @nackx, uint gid=0): bool |
---|---|
flash |
Name of the flash to be backed up |
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:
•Saving is supported only for properly initialized compact type flashes.
•Saving also implies irretrievable loss in any previous save.
•The extended NACK code contains the actual NACK code in loWord(nackx) and any additional information in hiWord(nackx).