nSun

convention de codage

Jul 14th, 2011
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* function functionName
  2.  * @param (int) nombre Précise le nombre utilisé
  3.  * @param (string) texte Le texte utilisé
  4.  * @return (bool) succes Retourne True en cas de succes, False encas d'échec
  5.  * @author newSunshine
  6.  * @date 2011-07-14
  7.  * <p>Ici un commentaire à propos de la fonction </p>
  8.  */
  9. function functionName( nombre, texte)
  10. {
  11.     if(nombre > 0)
  12.     {
  13.         alert( texte );
  14.         return true;
  15.     }
  16.     else
  17.     {
  18.         return false;
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment