Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
en:benutzerdefinierte_funktionen:benutzerdefinierte_funktionen [2024/10/27 20:14] neelesten:benutzerdefinierte_funktionen:benutzerdefinierte_funktionen [2024/10/27 20:15] (aktuell) – [Anweisungen] neelest
Zeile 70: Zeile 70:
       **Assignments:** An assignment binds the value of a mathematical expression to a variable:       **Assignments:** An assignment binds the value of a mathematical expression to a variable:
  
-<variable> = <mathematical expression>+    <variable> = <mathematical expression>
  
   *** Return:** The return statement ends the function and returns the result of the mathematical expression:   *** Return:** The return statement ends the function and returns the result of the mathematical expression:
  
-return <mathematical expression>+    return <mathematical expression>
  
       * **Conditional execution (if-then-else):** An if-then-else statement performs a conditional check. If the logical expression is true, the then statement is executed, otherwise the else statement is executed. The else part is optional.       * **Conditional execution (if-then-else):** An if-then-else statement performs a conditional check. If the logical expression is true, the then statement is executed, otherwise the else statement is executed. The else part is optional.