Skip to main content
Version: v3

hmFS.SysProSetChars(key, val)

Store temporary string, system reboot will clear.

Type

(key: string, val: string) => result

Parameters

ParametersDescriptionRequiredTypeDefault
keykey stringyesstring-
valthe stored stringyesstring-

result

` DescriptionType
The result of the operation, 0 means successnumber

Usage

hmFS.SysProSetChars('js_test_char', 'hello')
console.log(hmFS.SysProGetChars('js_test_char'))