hexagon logo

Problem: Get Comment lines count

Hi everyone,

Can anyone tell me the easyest way to get the number of lines of a comment?

Set PCDComment = PCDCommand.CommentCommand


For z = 1 To 10
If PCDComment.GetLine(z) Then cnt = z Else Exit For
Next z


This doesnt work. Is there something like PCDComment.Lines.count (obviously i tried this one already)?

Have a nice day,

Laurent
Parents Reply Children
No Data