Please enable JavaScript to view this site.

Formatting, i.e., complete deletion of the contents of one of the specified flash.

Syntax

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

flash

Name of the flash to be formatted

flags

Formatting settings (none provided at this time)

nackx

Reference to any extended NACK code, in case of error

gid

Identifier of any graphical percentage element to be used, which can be created with the addGauge() function

Result

Returns logical outcome of operation

Annotation:

Formatting is supported only for standard type flash (Robox).

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

Example of use

To format (erase the contents of) the /FA flash:

uint nackx

uint gid = addGauge ()

if (flashFormat ("/fa", 0, @nackx, gid))

  ; TODO: formatting ok

else

  printNack (nackx)

  ; TODO: error handling

end

 

  

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