obj_createΒΆ

obj_create creates an UniScript object.

obj = obj_create()

Return Value

obj is the new object or 0 if the creation failed.

Example

obj = obj_create()
obj.a = 123
obj.save("c:/test.xml")
obj = 0

Instead of using the obj_create function the object constructor syntax can be used (see UniScript Objects):

o = [. a = 123]

id-1422202