hmFS.SysProSetChars(key, val)
Store temporary string, system reboot will clear.
Type
(key: string, val: string) => result
Parameters
Parameters | Description | Required | Type | Default |
---|---|---|---|---|
key | key string | yes | string | - |
val | the stored string | yes | string | - |
result
` Description | Type |
---|---|
The result of the operation, 0 means success | number |
Usage
hmFS.SysProSetChars('js_test_char', 'hello')
console.log(hmFS.SysProGetChars('js_test_char'))