Void Print

Hello!
I have some problems with printing data in serial monitor. So i found one function that work fine for me but i dont understand what it does. The function is:

void Print (int R , int T)
{
Serial.print(R);
Serial.print(", ");
Serial.print(T);
Serial.println(".");
delay(100);
}

And then when i want to print my variables on serial monitor i have to write only:

Print (Variable); ....................not Serial.print();

So can anyone explain the code for me?

Thank guys!

There is no Void Print anywhere. There is a Print() FUNCTION that returns nothing (void).

but i dont understand what it does.

It calls two quite well documented functions. Go look up what they do, or explain your confusion better.

And then when i want to print my variables on serial monitor i have to write only:

Print (Variable); ....................not Serial.print();

No, that is not true. The Print() function you have there takes TWO arguments. It REALLY contributes nothing, as the delay() is not a good thing.

Read about functions here.