Skip to main content
版本:v3

hmFS.SysProSetInt64(key, val)

存储临时 64 位整数,系统重启将清除

类型

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

参数

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

result

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

用法

hmFS.SysProSetInt64('js_test_int64', 200)
console.log(hmFS.SysProGetInt64('js_test_int64'))