Posts: 1,006
Threads: 330
Joined: Mar 2007
Hi,
I was wondering if it was possible to send str Array via net command as an argument or must it only be a simple string or integer.
Thanks,
Stuart
Posts: 1,006
Threads: 330
Joined: Mar 2007
What is best way to fill an array across the network....(via net command)
I tried doing this with global ARRAY(str+), that once filled, could be used in other macros but it doesn't seem to work...
Thanks!
Stuart
Posts: 12,061
Threads: 140
Joined: Dec 2002
Quote:if it was possible to send str Array via net command as an argument
No, it must be single string.
Sending single element at a time will probably be too slow. You can somehow pack all array elements into single string, send it, then in the other computer unpack the string to array. It is especially easy if elements don't contain multiline strings. Then just assign array to str variable (s=a) , and on other computer str variable to array (a=s).
Posts: 1,006
Threads: 330
Joined: Mar 2007
Hi Gintaras,
It worked great! Thanks so much,
Stuart