Info=stoch_simul(var_list)?

I am trying to replicate the table from chapter 4 in Gali (2015).

and I saw code ‘info = stoch_simul(var_list)’

It looks like for continuing the simulations with different parameters.

However, I cannot find the explicit explanation for this. What does this exactly mean?

Also, I read the manual but I cannot find the meaning of ‘info’
(I saw some people use ‘if info’ or ‘if info(1)’ but I cannot see the reason why they used this)

What is ‘info’ and what is the meaning of ‘info=stoch_simul()’…?

Please help!

You mean the code at https://github.com/JohannesPfeifer/DSGE_mod/blob/master/Gali_2015/Gali_2015_chapter_4.mod ?
info stores the error code. See Continue dynare loop even when B/K condition violated (or