Announcement

Collapse
No announcement yet.

input COMPLETE line?

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

  • input COMPLETE line?

    Some of the lines in the data file contain commas, such as
    "Nashville, TN 12345" when a statement such as:

    input #1, DataLine$

    is used, it only gets the "Nashville" portion. It would be useful
    to me to be able to to store the complete line, commas included,
    into one variable. Is this possible please?

    Thank you.

    Robert

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

  • #2
    Use line input x$ to get all the delimiters in a line.
    KS

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

    Comment


    • #3
      That works from the keyboard. What about readling from a data file,
      where some lines contain a comman?

      Thank you.

      Robert

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

      Comment


      • #4
        Sorry, never mind. The problem caused in the error was in the DATA!

        I did not think to check that.

        Robert

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

        Comment

        Working...
        X