Answered Invalid Input/output Option. (262)

Cecil

19+ years progress programming and still learning.
I'm having a blond moment I just can't see what is wrong the 'run' statement.

Code:
define variable OfficeOpenXMLSuperHandle    as Handle no-undo.
define variable debugstream1                 as handle no-undo.

DEFINE STREAM debugstream.

debugstream1 = STREAM debugstream:HANDLE.

OUTPUT STREAM-HANDLE debugstream1 TO VALUE(THIS-PROCEDURE:FILE-NAME) + '.txt':U.

run OfficeOpenXML\OfficeOpenXMLSuper.p PERSISTENT SET OfficeOpenXMLSuperHandle (INPUT debugstream1) .

...

INFO: OE 11.6 64bit
OS: Windows 10 64bit
 

Cecil

19+ years progress programming and still learning.
Found it I was looking at the wrong line. Here is this the correction with the right hand parentheses in the correct place (DOH!):

Code:
OUTPUT STREAM-HANDLE debugstream1 TO VALUE(THIS-PROCEDURE:FILE-NAME + '.txt':U).
 
Top