Confusion about a tutorial example

Hi, everyone

I am a beginner in programming, and i am learning to write user defined reaction in MFiX. In MFiX 19.3 user guide, 4.13.3.6. Example: Athermal, gas phase, reversible reaction with UDF, reaction equations, ‘A–>R’ and ‘R–>A’, are not written in the curly braces, and “1.0” is not assigned to the variable " fracDH(0) ". Based on these thought, i wrote the code again. Both of them are posted below. Am i right? Why can it be written separately?

5

6

Best regards.
wuming

Thanks for pointing out this issue. The reaction expressions are NOT formatted correctly in both the HTML and PDF versions. Needed to be corrected in the next release.