Hi there,

can someone tell me how i can access data from one class while i'm in another for. i can do it with normal classes but i can't do it with arrarys of classes properly, here's a sample below...

elevator::close_doors
{
person[i].waiting = 1;
}

It won't let me do it, waiting is a public booleen in the person class.

is there a possible way to do this?

Thanks.

Regards,

Smithy.