FrankFamily Posted June 6, 2016 Share Posted June 6, 2016 (edited) Wondering if you can change the value of a parameter within the function just like any variable declared within it or are they read-only. Silly example: Int Function(Int A) ;Do some stuff altering A passed in value Return A EndFunctionInstead of: Int Function(Int A) Int B = A ;Do some stuff altering B value which is A passed in value Return B EndFunction Edited June 6, 2016 by FrankFamily Link to comment Share on other sites More sharing options...
IsharaMeradin Posted June 6, 2016 Share Posted June 6, 2016 (edited) Yes, you can. EDIT: More precisely, it will return whatever you tell it to return with the Return command. Edited June 6, 2016 by IsharaMeradin Link to comment Share on other sites More sharing options...
FrankFamily Posted June 6, 2016 Author Share Posted June 6, 2016 thanks :) Link to comment Share on other sites More sharing options...
Recommended Posts