Skip to content

Commit

Permalink
Added default meta modelica function to construct strings (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRT committed Apr 28, 2020
1 parent 164a494 commit 3f55fee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/exportmetaRuntime.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export stringLength
export stringListStringChar
export stringReal
export stringUpdateStringChar
export String
export substring
export tick
export valueCompare
Expand Down
4 changes: 4 additions & 0 deletions src/metaRuntime.jl
Original file line number Diff line number Diff line change
Expand Up @@ -799,3 +799,7 @@ end
function StringFunction(r::Float64)::String
realString(r)
end

function String(a)::String
string(a)
end

0 comments on commit 3f55fee

Please sign in to comment.