Opened 5 years ago
Last modified 5 years ago
#5759 new defect
Support Modelica.Utilities.Strings.* functions directly
Reported by: | Adrian Pop | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | Interactive Environment | Version: | |
Keywords: | Cc: |
Description
Currently it doesn't work to call for example scanInteger in a script because we have -d=nogen
activated and even so, generating a dll for this is just overkill. We already link with ModelicaExternalC so we could just support this via function evaluation and known external functions.
Even if you enable -d=gen
on Windows it complains on missing omc_assert.
The only way to parse an integer now is to switch to -g=MetaModelica and do stringInt
which is just totally annoying.
Note:
See TracTickets
for help on using tickets.
Two ways of resolving it: