EXIT_FNC

TERMINE UNE FONCTION SANS EXECUTER END_FNC


  • Type: Commande
  • Paramètre: 0
  • Groupe: Structures


ACTION

La commande EXIT_FNC termine une fonction sans exécuter END_FNC


SYNTAXE : EXIT_FNC


UTILISATION

  • La commande EXIT_FNC est utilisée pour terminer une fonction sans exécuter END_FNC.

ERREUR

  • Rien.

EXEMPLE

dim i%

for i%=1 to 10

print double(i%)

next i%

end

fnc double(j%)

if j%>5 then result 0:exit_fnc

result 2*j%

end_fnc


EN RAPPORT

FNC

END_FNC

RESULT


Content created by Jack. Updated March 07, 2025