Hi guys,

I'm trying to go through the tuts avaible in the manual and I have a question about "passing variables" section in workshop 2.

The thing is that I don't really understand how it works. Like in the example:

var compute_days(var age)
{
return age * 365.25;
}

function main()
{
var my_age = 33;
var number_of_days = compute_days(my_age);
printf("I am %.f days old!",number_of_days);
}

Exactly where does "var age" come from? And how can the computer compute "return age * 365,25"? The "age" doesn't have a value? or?

If someone could explain it, I would be thankful!


/Ibra