function F1 { param ($n, $a) if (F2($a)) { "$n is old enough to vote" } else { "$n is too young to vote" } } function F2 { param ($var) if ($var -gt 17) { $true } else { $false } } [string]$name = "Joe" [int]$age = 25 F1 $name, $age