Value as a string from a void function

If you need something out of a function, it can’t return void (nothing)! :wink: You could return a String.
And method (function) names should start lower-case by convention.

String information (String name, int age) {
  textSize(60);
  fill(0); 
  text("Name:"+name, 800,500);
  fill(0);
  text("Age:"+age, 850, 600);
  return "Name: " + name + "\nAge: " + age;
}