Phylogenius
(Phylogenius)
September 19, 2020, 9:24am
23
EvilCleric:
Maybe:
What the plant has: N_Solide
What he can carry: Max_N_Solide
What he already carries: NS_Porte
temp ← N_Solide + NS_Porte
if temp > Max_N_Solide NS_Porte ← Max_N_Solide
N_Solide ← temp - Max_N_Solide
else: NS_Porte ← temp
N_Solide ← 0
](filedata/fetch?id=1812414&d=1600328603)
Hello Evil Cleric, all;
I took your code back and realized that I had made a transcription error which caused an error, I did not notice it until this morning when I took it again … :o
I still made two small changes:
I don’t know if it says dear to you, but in France we say “why make it simple when you can make it complicated”
Thank you for your help I will be inspired by it for the future
Phylogenius
(Phylogenius)
September 28, 2020, 4:38pm
25
anonymous_user_cdd12c31:
thank you very much. You helped me a lot, because I could have big problems if I dealt with these formulas on my own. In general, in my studies I am guided by a rule that says that you need to delegate more in order to free up time for things you like. For example, I turn to the company https://uk.edubirdie.com which helps me in writing various kinds of academic written works.
I am happy to have been of service to you.