Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSX File with Undefined Constant Running without Error #5

Open
henryricca opened this issue Mar 23, 2018 · 0 comments
Open

MSX File with Undefined Constant Running without Error #5

henryricca opened this issue Mar 23, 2018 · 0 comments

Comments

@henryricca
Copy link

When an undefined variable was referred to in the [TERMS] section of a .msx file due to a typo, MSX ran without outputting an error message. Not sure if MSX just assumes a default value for undefined constants in cases like this, but an error message would have helped us quickly realize that a typo was responsible for the odd results we were getting. The following 3 files are in the attached .zip folder, which highlight the issue.

chloramine.inp - EPANET input file for the simple example network provided with the manual

chloramine_undefined_constant.msx - MSX input file with the undefined constant due to a typo. In line 97, 'DCO1' was typed instead of 'DOC1'

chloramine_undefined_constant.rpt - report file generated from running 'chloramine.inp' with 'chloramine_undefined_constant.msx'. The results are odd due to the typo, but no error message was output

Undefined_Constant_Issue.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant