Origin Version (Select Help-->About Origin): 7.5 SR6 Operating System:XP
I want to add a column named "Nd" to a worksheet if it doesn't already exist. The labtalk script below works most of the time, but sometimes it doesn't recognize that column(Nd) is already there and adds another column Nd1, Nd2 ...
if(!colnum(Nd)) {wks.addCol(Nd);}; # Add Nd column to worksheet;