Hi Jerome,
Now I revised the program as below,the app now can run ,but just a
single line "Press any key to continue...",after my press a key,the
app exit.That'is all.
//***************************************************
import "ecere"
class Person
{
int age;
public:
property int age
{
get{return age;}
set
{
printf("age(previous %d) and now is %d\n",value);
age=value;
}
}
}
class TestApp:Application
{
void Main()
{
Person Tom {age=20};
Tom.age=40;
printf("Tom now is %d\n",Tom.age);
system("PAUSE");
}
}
//************************************