AnsweredAssumed Answered

SW2011: Import Equations with Comments [Bug?]

Question asked by Denny Metcalf on Nov 30, 2010
Latest reply on Dec 6, 2010 by Frank Ruepp

Hello.

 

Not sure where this should go, whether or not it's a known issue, or if someone has a solution.

 

First of all, hurray we can share equations with multiple files from a single text file.

 

It seems really finicky though and whenever I try to import a file that has a line with only comments, SW behaves strangely by adding the comment multiple times each rebuild.

 

"var1"= 1 ' This is a variable

' This is a comment

' This is another comment

"var2"= 2 ' This is another variable

 

causes:

 

"var1"= 1 ' This is a variable

' This is a comment

' This is another comment

"var2"= 2 ' This is another variable

' This is a comment

' This is another comment

' This is a comment

' This is another comment

' This is a comment

' This is another comment

etc.

 

 

 

It's usable but being able to put comments makes it easier to document what you're trying to do.

 

Any ideas?

Outcomes