>Hi,
> Thank yuo very much. I will think about it deeply in order to apply it in pratical. Thank you.
> I have another question too, As I read from FP advisor, the author of admin-manager will create comserver as many as comclient instance then store the client reference on each comserver property and stire the comserver to a public array. Why we need to have so many instance, instead of have a single instance of comserver, and just store the comclient in array. Once necessary, call the client store in array?>
>
>Thank yuo
I don't know about comserver, but I think, yes, if you need several similar objects, an array is appropriate.
An array property can be used, too. Let's say cApplication is your application class.
goProgram = CreateObject("cApplication")
...
dimension goProgram.aComServer(alen(goProgram.aComServer)+1)
goProgram.aComServer(alen(goProgram.aComServer)) = CreateObject("cComServer")
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)