Announcement

Collapse
No announcement yet.

Lock Read problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Robert E. Carneal
    replied
    Now I am really embarrassed!! Would you believe I spent three days on that? I wish I had asked sooner.

    Thank you.

    ------------------

    Leave a comment:


  • Bob Zale
    replied
    FILENAME is a reserved word. FILENAME$() function.

    Regards,

    Bob Zale
    PowerBASIC Inc.


    ------------------

    Leave a comment:


  • Robert E. Carneal
    started a topic Lock Read problem

    Lock Read problem

    The compiler claims there is an error with the following statement, and I just do not see it.

    Filename$ "C:\FDBD\DirAll.dat"

    Open Filename$ for Input access Read as #1

    (There is an error in the above statement, but what?)

    The following line works just fine.
    Open "C:\FDBD\DirAll.dat" for Input access Read as #1

    What is the difference?? I am honestly embarrassed to ask!

    I only want to open this file and make very sure I do not write to it, nor does anyone else on the network.

    Thank you for your understanding.

    Robert



    [This message has been edited by Robert E. Carneal (edited February 20, 2005).]
Working...
X