Pointer

From Pointui

Pointers are supported as a means to reference other objects. Here is an example:

Declare a new class:

class MyNewClass
{
	//have a property on this class
	String s1;
}

Add new object to the collection:

MyNewClass mnc;
mnc.s1 = "Hi";
 
Collection c;
c.Add(mnc);

Get access to that original object added using a pointer:

MyNewClass *ptr = c.Item(0);

Access the original string property:

ptr.s1 += " there";
//now s1 will contain the string "Hi there"