active web pages
Active Web Pages - content
previous page
next page
Zur deutschen Version
Do wersji polskiej
К русской версии
creating objects:
VARIABLE
= new
ANYFUNCTION()
;
or:
VARIABLE
= new
Object()
;
For creating an object, the keyword
new
and the name of a valid function or
Object()
has to be indicated.
adding attributes:
X
= new
ANYFUNCTION()
;
X[0]
=
"First Value";
X[1]
=
2;
X.PropertyX
=
"XY";
A new attribute can be added by explicitly indicating the index position.
Named attributes are inserted at the first empty position.
X[2]
has the value
"XY"