﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2825	Override of Q-Idents	Lennart Ochel	somebody	"The simulation command line flag {{{-override}}} is quite useful. Unfortunately, it is not working for Q-Idents, because inverted commas are not passed to the simulation. Has anyone an idea how to fix it?

The issue can be tried using the following example script.
{{{#!mo
loadString(""
model foo
  Real x(start=1.0);
  Real 'y'(start=1.0);
  parameter Real p=1.0;
equation
  der(x) = p;
  der('y') = p;
end foo;
""); getErrorString();

simulate(foo, stopTime=0.0); getErrorString();
val(x, 0.0); getErrorString();
val('y', 0.0); getErrorString();

simulate(foo, stopTime=0.0, simflags=""-override=p=-2,x=0,\'y\'=0 -lv=LOG_SOLVER""); getErrorString();
val(x, 0.0); getErrorString();
val('y', 0.0); getErrorString();
}}}

{{{x}}} is working as expected, whereas {{{'y'}}} is not.

BTW: Whitespaces (and probably other strange valid characters) in Q-Idents will not work too."	defect	new	high	Future	Command Prompt Environment	trunk			cbrinkrolf@… Adrian Pop Martin Sjölund Adeel Asghar Willi Braun
