Difference between revisions of "MC-Basic:NVRAMFORMAT"

From SoftMC-Wiki
Jump to: navigation, search
Line 46: Line 46:
 
* [[Axystems:MC-Basic:LNVRAMSIZE|LNVRAMSIZE]]
 
* [[Axystems:MC-Basic:LNVRAMSIZE|LNVRAMSIZE]]
  
 +
[[Category:Axystems:Obsolete|NVRAMFORMAT]]
  
 
}}
 
}}

Revision as of 11:30, 11 March 2014

This command formats the Non Volatile memory device. All previous data is erased and new sets of data vectors are defined. LNVRAM defines the size of long integer data vector. Each element in the vector is 4 bytes long. DNVRAM defines the size of the data vector. Each element in the vector is 8 bytes long.

IMPORTANT.svgIMPORTANT
THIS COMMAND IS OBSOLETE

Syntax

NVRAMFormat LNVRAM = <expression> DNVRAM = <expression>

Availability

All versions

Type

NA

Range

NA

Units

NA

Default

NA

Scope

Configuration , Task , Library or Terminal

Limitations

- LNVRAM*4 + DNVRAM*8 < 30720bytes (30 KB)

Examples

Program
       If (LNvRamSize <> 80) OR (DnvRamSize <> 80) Then
                   NvRamFormat lnvram = 80 dnvram = 80
       End if

End Program

See Also