1 2 3 4 5 6 7
function(recursive x) message("${x}") math(EXPR y "${x} + 1") recursive(${y}) endfunction() recursive(3)