Thanks Mike,
Have had a copy of the OLE safe array logic for years. Works fine on a windows server.
I've never been able to successfully use the OLE interface from Linux. Always get an error too difficult to figure out somewhere. *obj/excel almost worked. At the bottom is an error probably tied to the largest windx string size which I am not sure of but 30,000 characters got the same error.
010 DEF OBJECT VARIANT,"*VARIANT"
Error #99: Feature not supported.
-}x=new("*obj/excel")
Error #99: Feature not supported
-}
-;/
0010 !
0020 FOR r=1 TO 1000
0030 FOR c=1 TO 25
0040 data$+="R"+STR(r)+"C"+STR(c)+SEP
0050 NEXT c
0055 !
0060 NEXT r
0070 !
0080 strt=TMR(3)
0090 !
0100 xl=NEW("[lcl]*obj/excel")
0110 xl'createworkbook("")
0120 xl'write(data$,"A1:Y1000")
0130 xl'visible=1
0140 !
0150 DROP OBJECT xl
0160 END
-;run
0120 xl'write(data$,"A1:Y1000")
Error #46: Length of string invalid
Current program is <unsaved>, line 120
1;?len(data$)
565116
1;