CR LF to get new line in string output?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • MRIII
    Junior Member
    • Sep 2008
    • 6

    CR LF to get new line in string output?

    Using the serial interface and th 's' comand to output a string, I'd like to be able to send a CR and LF to go to the next line at any time in the text string. Is it possible?

    THX,

    MRIII
  • Julien
    Senior Member
    • Mar 2007
    • 107

    #2
    Hi,

    Just tested it and with the Serial PmmC it is not possible ie it will display the linefeed character "\n" on screen.

    If you want this feature added to the Serial Emulator please let me know. The Serial Emulator is scheduled to be released at the same time as the new releases that is coming up.

    Regards,
    Julien

    Comment

    • MRIII
      Junior Member
      • Sep 2008
      • 6

      #3


      Yes, I think something like a garden variety LF CR (new line) is something that more than a few of us would like.

      Thanks,

      MRIII

      Comment

      • EMHmark7
        Member
        • May 2013
        • 86

        #4
        Ya, on Picasso,

        I am not able to print in a text file a char that will generate a line feed, read by notepad.

        Il generates a vertical rectangle (non printable char) and not line feed.

        I tried both to(DSK); : putch(10); and print("\n");
        Any idea?

        But as it is, it can be processed in a spreadsheet.

        Thanks,
        Marc

        Comment

        • ESPsupport
          4D Staff
          • Jan 2009
          • 9841

          #5
          If you are using a 'unix' 'based' text file reader, print("\n") will work.

          If you are using a 'DOS' 'based' text file reader, print("\r\n") will work.
          Mark

          Comment

          Working...
          X