SPACE or TAB separator for Write Line

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

  • SPACE or TAB separator for Write Line

    Hello,

    I need to create an ascii file with SPACE or TAB separator instead of ','
    (VALX + ", " + VALY). Replacing ", " by " " doesn't work.

    Any suggestion is welcome. Thanks
    Last edited by Dominique Favre; 05-21-2007, 09:06 AM.

  • #2
    It certainly should. I know it works for me.

    You could try inserting CHR(9) instead.

    Code:
    VALX + CHR(9) + VALY
    I think it was SaBarber that turned us on to that.
    Last edited by craiger_ny; 05-21-2007, 08:58 AM.
    <internet bumper sticker goes here>

    Comment


    • #3
      Thanks, but I tried this already. Only the first value is written.

      Comment


      • #4
        Any chance you could post your code? Something is not right. You might want to try retyping your variables. PCDMIS does somoe goofy htings there sometimes that fixes. Doesn't sound like your problem though but you never know.
        <internet bumper sticker goes here>

        Comment


        • #5
          Just curious.. why the tab OR space and not the comma? Since it can be either, do you have a problem with the comma?

          If it is that you cannot use the comma then try the pipe(|).
          Links to my utilities for PCDMIS

          Comment


          • #6
            I tried to attached a part program example using CHR(9)
            Attached Files

            Comment

            Related Topics

            Collapse

            Working...
            X