Please enable JavaScript to view this site.

Restore all the contents of the specified flash from the corresponding save flash, the contents of which are created using the flashDiskBackup() function.

Syntax

flashDiskRestore(string flash, uint @nackx, uint gid=0): bool

flash

Name of the flash to be restored

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:

Restoring is supported only for flash of compact type that has been properly initialized and for which a save has already been made.

Restoring also implies the irretrievable loss of all flash contents.

The extended NACK code contains the actual NACK code in loWord(nackx) and any additional information in hiWord(nackx).

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC