// JScript object definition follows
function FirstObj() {
// private data {Hey dude, this is a comment line!}
// public data
// private methods
// public methods
}
The following is an instantiation of the object shown above.
// JScript object instantiation follows var firstObject = new FirstObj();Of course, this new instantiation doesn't do anything, but now you know the skeleton of any object that you wish to create.
That's all for now.
Email me at:
[email protected]
![]() | ||||||||||