Jul-08-2019, 02:50 PM
(This post was last modified: Jul-08-2019, 02:51 PM by ichabod801.)
You should return the value and assign it. Put
return tempAllPaths
at the end of your function, and use allPaths = shortest(...)
to call the function and assign the return value.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures