General information
Category:
Coding, syntax & commands
Gene --
You might already have the same file opened.
Bill
>Assuming my code reads,
> p_path="c:\temp\"
> path_ok = FOPEN(p_path+'temp.txt',11)
>
>path_ok always returns -1 (Can't read or write)
>
>The directory does exist.
>
>I have tried all the buffer codes,
>0 Read Only Buffered
>1 Write-Only Buffered
>2 Read and Write Buffered
>10 Read-Only Unbuffered
>11 Write-Only Unbuffered
>12 Read and Write Unbuffered
>
>
>Why does it always return -1?
>
>Thanks,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only