Although I don't think this is a good idea, there's a way to get all server variables in the WindX session. On the server, run this code:
0001 LET abc=123; LET abc$="abc" ! test variables
0010 OPEN (1)"[wdx]*memory*;xyzzy"
0020 DUMP (1)
0030 PRINT (1)"! DONE",'-B'
0040 CALL "[wdx]*windx.utl;get_num","ffn("+QUO+"*memory*;xyzzy"+QUO+")",chan
0050 IF chan<=0 THEN STOP
0060 CALL "[wdx]read",chan
The 'read' program on the WindX side looks like this:
0010 ENTER x ! PRINT PTH(x)
0030 LET L$=RCD(x,IND=0,ERR=DONE)
0040 WHILE 1; PRINT L$
0050 LET L$=RCD(x,ERR=*BREAK); WEND
0060 DONE: EXIT
You want to 'execute L$' at line 45. Be carefull with global variables as you can destroy WindX variables that you really shouldn't touch.
Eric Vanpaeschen
EDIAS Support