DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

return value for TextFileOpen does not match help system

The help system indicates that TextFileOpen "retuns the value 0 if an error occurs when opening or creating the text file".

 

When I run the following with DiaDem 2010SP1 on Vista64, I get value of -1 ...

 

                   MsgBox  TextFileIOpen("This File Does Not Exist.csv",tfRead)

 

This means that any error checking using that function might not work as intended.

0 Kudos
Message 1 of 2
(2,774 Views)

Hello Colin Jones,

 

Thank you for this information. You are right. We will change the DIAdem help system so that the descrition reflection the correct return value in VBS.

 

Greetings

Walter

0 Kudos
Message 2 of 2
(2,762 Views)