Procedimento que calcula a idade

qgustavor Sep 27th, 2013 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function calculaidade(nascimento)
  2.   //
  3.   // clock = [year month day hour minute seconds]
  4.   hoje = clock();
  5.   disp("A idade é " + string(hoje(1) - nascimento));
  6. endfunction
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand