Skip to main content
版本:v3

hmFS.SysProSetChars(key, val)

存储临时字符串,系统重启将清除

类型

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

参数

参数说明必填类型默认值
key键字符串string-
val存储的字符串string-

result

说明类型
操作结果,0 表示成功number

用法

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