Hi folks,
I need something like an "automatic array" for some of my scripts ...
Here's an example:
I'd like to read a server list containing let's say 3 entries ...
wts1
wts2
dbb1
These entries shall be automatically put into an array. Like this:
srv[0]=wts1
srv[1]=wts2
src[2]=dbb1
... but that's not all !
It could happen that there are servers being added or removed from the server list and the array is supposed to automatically react to that ...
Is it possible ?
If so, how ?
Regards
Thomas
I need something like an "automatic array" for some of my scripts ...
Here's an example:
I'd like to read a server list containing let's say 3 entries ...
wts1
wts2
dbb1
These entries shall be automatically put into an array. Like this:
srv[0]=wts1
srv[1]=wts2
src[2]=dbb1
... but that's not all !
It could happen that there are servers being added or removed from the server list and the array is supposed to automatically react to that ...
Is it possible ?
If so, how ?
Regards
Thomas