Hello everybody, I have a question:
How do references work in A7 C-Lite?
I want to create something similar to this:
(In C++ the &[ampersand] sign does this)
function Add (int& result, int a, int b)
{
result = a + b;
}
// You can call the function like this
int myResult = 0;
Add(myResult, 5, 7);
// myResult is now 12
What would this function look like in C-Lite?
Many thanks.