Last active
October 20, 2015 12:48
-
-
Save thorade/89b9cf61c52d547d918a to your computer and use it in GitHub Desktop.
syntax highlight: string versus description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
within ; | |
function printString "this function can print strings" | |
import Modelica.Utilities.Streams.print; | |
// just a comment | |
input String foo="some text" "foo doc-string"; | |
input Real bar=21 "bar doc-string"; | |
protected | |
Real baz=21 "baz doc-string"; | |
algorithm | |
print(myString + " " + String(bar+baz)); | |
annotation (uses(Modelica(version="3.2.1"))); | |
end printString; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compare color of string versus description string. Same color or different?