|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
04 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL
|
05 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL
|
08 Jul 2019, Stefan Ritt, Info, Limitations of MSL
|
08 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL
|
08 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL
|
09 Jul 2019, Stefan Ritt, Info, Limitations of MSL
|
08 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL
|
16 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL
|
30 Jul 2019, Stefan Ritt, Info, Limitations of MSL
|
|
Message ID: 1621
Entry time: 16 Jul 2019
In reply to: 1594
Reply to this: 1638
|
Author: |
Lukas Gerritzen |
Topic: |
Info |
Subject: |
Limitations of MSL |
|
|
Dear Stefan,
another thing which does not work is the comparison of floating point numbers.
The script:
IF 1.1 > 1.0
MESSAGE "foo"
ENDIF
Produces an error "Invalid number in comparison". This is due to isdigit() being used to find the numerical values in the condition at progs/msequencer.cxx:343.
Would it be possible to add something like the following?
343 if (!isdigit(value1_var[i]) && value1_var[i] != '.')
344 break;
Which would only leave open a problem with some string like "2.3.4"
Cheers
Lukas |