question -property

sclytrack sclytrack at fake.com
Wed Jan 4 06:43:20 PST 2012


.property = "test";

.method = "test";
.method("test");

What does -property exactly do?

If you had like a dynamic where you don't know if it's
member is a property or a method. You would choose
method right?


scratch the invalid ones below.
-------------------------------

.property="test";
.property("test");
.method="test";
.method("test");




More information about the Digitalmars-d-learn mailing list