ODBiC Discussion Board


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



Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.