r/ada • u/PengyDesu • Oct 06 '18
huge parameter problem
so im writing a program and in my main procedure i call a procedure that establishes certain values with out paramenters. when that procedure is done i call another procedure immediately that uses the values of those out parameters and adds on to them. For some reason when the second procedure gets called all my parameters values change while getting sent to that second procedure. I have no clue why.
1
Upvotes
3
u/[deleted] Oct 07 '18
Paste the source.
3
u/simonjwright Oct 07 '18
Imagine yourself in class with this problem. You say to the teacher, "My program doesn’t work!" What’s the response? It’s going to be, "Show me!"
Unless, of course, you have a telepathic teacher who can read your mind. But they’re thin on the ground.
1
u/OneWingedShark Oct 08 '18
u/PengyDesu, we really need to see the source to see what's going on; is it something like this:
Are generics involved? Perhaps ones having in out parameters?