Concatenate text in a report comment?

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

  • Concatenate text in a report comment?

    Code:
    V1         =LOOP/START, ID = YES, NUMBER = 60, START = 1, SKIP = ,
                   OFFSET: XAXIS = 0, YAXIS = 0, ZAXIS = 0, ANGLE = 0
    F1         =GENERIC/POINT,DEPENDENT,RECT,$
                NOM/XYZ,CYL1.HIT[V1].X,CYL1.HIT[V1].Y,CYL1.HIT[V1].Z,$
                MEAS/XYZ,CYL1.HIT[V1].X,CYL1.HIT[V1].Y,CYL1.HIT[V1].Z,$
                NOM/IJK,CYL1.HIT[V1].I,CYL1.HIT[V1].J,CYL1.HIT[V1].K,$
                MEAS/IJK,CYL1.HIT[V1].I,CYL1.HIT[V1].J,CYL1.HIT[V1].K
                [COLOR="Red"]COMMENT/REPT,Cly1 Hit " & v1 & " = " & cyl1.hit[V1].x & ", " & cyl1[v1].hit[V1].y & ", " & cyl1.hit[v1].z[/COLOR]
                LOOP/END
    Notice the red text in my code.

    Basically if I was writing Visual basic code. This is what I want to do in a PCDMIS report comment.

    Of course this isnt the correct syntax for PCDMIS, but I was hoping someone might know how to do this?

    Im trying to Concatenate a string together that can be output to the PCDMIS report.

    Thanks
    Mr. Comment
    SCIROCCO-NT 13-20-10
    B3C-LC Controller (Leitz Protocol), SP600M, TP200
    PCDMIS CAD++ v4.3 MR1(Build: 12/11/08)
    sigpic

  • #2
    PCDMIS concatenates with the plus (+) symbol.

    Code:
    COMMENT/REPT,"Cly1 Hit " + v1 + " = " + " " + cyl1.hit[V1].x  + ", " + cyl1[v1].hit[V1].y + ", " + cyl1.hit[v1].z
    Watch out where you put your quotes too. You are mmissing one at the beginning of your Cly1 Hit string so PCDMIS will think that you want & v1 & in quotes which makes it a string.

    Craig
    Last edited by craiger_ny; 11-15-2006, 01:12 PM.
    <internet bumper sticker goes here>

    Comment


    • #3
      Woot!, Thxs
      Mr. Comment
      SCIROCCO-NT 13-20-10
      B3C-LC Controller (Leitz Protocol), SP600M, TP200
      PCDMIS CAD++ v4.3 MR1(Build: 12/11/08)
      sigpic

      Comment

      Related Topics

      Collapse

      Working...
      X