2005/5/10

     
 

CfgScript Object Types

artefaktur

| Any Type | Basic Types | Object Types | Array Types | Enum Type | Props Type |

All CfgScript types based on ACDK Object.


Content of this chapter:

   Using Objects



 Using Objects

CfgScript Objects are also ACDK classes an vice versa.

The usage of objects are quite similar to ACDK, Java, JavaScript, and C#.

To create a new object new has to be used:


acdk.lang.StringBuffer sb = new acdk.lang.StringBuffer("asdf");
sb.length() == 4;

This example shows also, that the objects are organized in namespaces.

See also:  Class