+ 2

Is there any way to return more than one value from a module to main() or the function in which the module is called?

5th Oct 2019, 3:22 PM
Mohit Saini
Mohit Saini - avatar
6 Réponses
+ 1
Maybe you could return an array? I don't know how you would handle cases with different types of return valuds.
5th Oct 2019, 3:29 PM
Seb TheS
Seb TheS - avatar
+ 1
You can return an array or struct which has several values.
6th Oct 2019, 1:22 AM
Sonic
Sonic - avatar