OPEN command
by Jon Grosse, April 8, 2008 04:42 I have a problem with the OPEN command, this will NOT allow the READ option
(In my example test.txt exists)If I use this: OPEN testfile, C:\ODBscript\odb\Irascan\Drawings\test.txt ; set line = $read(testfile); close testfile;
Then $line$ diplays the data ok.
However, if I use:
OPEN testfile, C:\ODBscript\odb\Irascan\Drawings\test.txt READ; set line = $read(testfile); close testfile;
$line$ is empty.
APPEND works ok If the file not created then all options create a new file (including READ)
My version of ODB.exe is 16/05/07 15:39
Name E-mail optional TopicMessage:
HTTP Link: Link text: