Announcement

Collapse
No announcement yet.

LINE INPUT# problem?

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

    LINE INPUT# problem?

    Hi forum!

    I have some trouble with data erase in my program. It seems to be result of reading from text file. When input line exceed 65 characters lenght, after LINE INPUT# statement, some data in memory were corrupted (I saw it in debugging session). It's independent of type and location of variable (local or global, static or dynamic string). Has anyone experienced similar problem? Any idea?

    Regards

    Cezary Zielinski

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

    #2
    Cezary,

    It is hard to say what the problem is but if you post some code
    I'm sure we can find out something.

    When you post the code put brackets around it like this:

    [ CODE]
    your code
    ..
    ..
    [/CODE]

    that keeps it formatted.

    ------------------
    -Greg
    -Greg
    [email protected]
    MCP,MCSA,MCSE,MCSD

    Comment


      #3
      [deleted due to double post]

      [This message has been edited by Gregery D Engle (edited July 31, 2000).]
      -Greg
      [email protected]
      MCP,MCSA,MCSE,MCSD

      Comment


        #4
        Gregery,

        Posting my code was too difficult because of it's size. I tried to extract interesting fragments and on that occasion I found source of my trouble.
        I use pointers to table access. I assumed that some table element has constant address, but table in programm was resized and target has changed it's location - pointer missed it. Thats all.
        Thanks for your good intentions

        Cezary


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

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎