Describe the bug
Using a stirng method for a if condition yields to problems, especially using if (strvar.fnd(",")). The problem might be related to the comma in the string expression.
To Reproduce
Steps to reproduce the behavior:
Reproduce a code like in the screenshot
Execute the code
See error
Expected behavior
The code is executed without problems
Screenshots
Desktop (please complete the following information):
OS: 10x64
Version v1.1.5.2303
Additional context
Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The Problem originates from a missing condition in value_type* FlowCtrl::evalHeader(int& nNum, std::string& sHeadExpression, bool bIsForHead, int nth_Cmd, const std::string& sHeadCommand), where the CALCTYPE_NUMERICAL is assigned always even if other previous evaluations are necessary (compare that with int FlowCtrl::compile(std::string sLine, int nthCmd))
DESCRIPTION
Describe the bug Using a stirng method for a
if
condition yields to problems, especially usingif (strvar.fnd(","))
. The problem might be related to the comma in the string expression.To Reproduce Steps to reproduce the behavior:
Expected behavior The code is executed without problems
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The Problem originates from a missing condition in
value_type* FlowCtrl::evalHeader(int& nNum, std::string& sHeadExpression, bool bIsForHead, int nth_Cmd, const std::string& sHeadCommand)
, where theCALCTYPE_NUMERICAL
is assigned always even if other previous evaluations are necessary (compare that withint FlowCtrl::compile(std::string sLine, int nthCmd)
)IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST