方法 GetPersistentVal

GetPersistentVal 方法获取之前通过 SetPersistentVal 方法保存到持久存储中的值。

语法

GetPersistentVal(key)

参数

key

必需。指定值名称的字符串。字符串只能包含大小写字母 A-Z、数字 0-9、下划线、点和冒号。字符串长度限制为 255 个字符。值名称不区分大小写。

返回值

返回从持久存储加载的值。如果找不到指定名称的值,则返回 null。

另请参阅

对象 Salamander

方法 SetPersistentVal

From the Sally manual (GPL-2.0-or-later), © 1997-2023 Open Salamander Authors; © 2025-2026 Elias Bachaalany. Source: manual source (zip) · original page in the Sally repository