mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-04 04:58:24 +08:00
10 lines
232 B
GLSL
10 lines
232 B
GLSL
a = object_create()
|
|
assert(!value_is_null(a))
|
|
assert(object_set(a, "age", 123))
|
|
assert(object_get(a, "age") == 123)
|
|
print(object_get(a, "age"))
|
|
assert(object_remove(a, "age"))
|
|
assert(!value_is_valid(object_get(a, "age")))
|
|
|
|
unset(a)
|