hmFS.SysProSetInt64(key, val)
Stores a temporary 64-bit integer that will be cleared by system reboot.
Type
(key: string, val: number) => result
Parameters
Parameters | Description | Required | Type | Default |
---|---|---|---|---|
key | key string | yes | string | - |
val | Stored 64-bit integer | yes | number | - |
result
Description | Type |
---|---|
The result of the operation, 0 means success | number |
Usage
hmFS.SysProSetInt64('js_test_int64', 200)
console.log(hmFS.SysProGetInt64('js_test_int64'))