Werbung
 Übersetzung für 'if-statement' von Englisch nach Deutsch
NOUN   an if statement | if statements
comp.
if statement
if-Anweisung {f}
comp.
if statement
Wennanweisung {f}
comp.
if-statement
Wenn-Anweisung {f}
3 Übersetzungen
Neue Wörterbuch-Abfrage: Einfach jetzt tippen!

Übersetzung für 'if-statement' von Englisch nach Deutsch

if statement
if-Anweisung {f}comp.

Wennanweisung {f}comp.
Werbung
if-statement
Wenn-Anweisung {f}comp.
Anwendungsbeispiele Englisch
  • In an extended finite state machine (EFSM) model, the transition can be expressed by an “if statement” consisting of a set of trigger conditions.
  • , which is scoped to only the block of code enclosed by the if-statement construct.
  • A typical example is that there are control dependences between the condition part of an if statement and the statements in its true/false bodies.
  • This is similar to the "if" statement that selects one of two statements to execute depending on a condition.
  • For example, the following C program fragment has an essential complexity of 1, because the inner if statement and the for can be reduced, i.e. it is a structured program.

  • Both features are very similar and comparing both code snippets will show the difference: "early exit" must be combined with an if statement while a "condition in the middle" is a self-contained construct.
  • There is no ternary if in Go, so use of the full if statement is always required.
  • The convention when dealing with the dangling else is to attach the else to the nearby if statement, Alternatively, the grammar can be rewritten to remove the conflict, at the expense of an increase in grammar size (see below).
  • Blocks are used to enable groups of statements to be treated as if they were one statement.
  • The "while" loop can be thought of as a repeating if statement.

  • Because the expression 0 will always evaluate to false, the code inside the if statement can never be executed, and dead-code elimination would remove it entirely from the optimized program.
  • In the example above, if the discount is 10%, then the first if statement will be evaluated as true and "you have to pay $30" will be printed out.
  • The above source code can be made even clearer by taking the inner if statement out of the outer one altogether, placing the two blocks one after the other to be executed consecutively.
  • This is the case for [...] , even if statement "S" is non-deterministic as a selection statement or a specification statement.
  • iterations, to remove the if statement from the [...] loop.

    Werbung
    © dict.cc English-German dictionary 2024
    Enthält Übersetzungen von der TU Chemnitz sowie aus Mr Honey's Business Dictionary (nur Englisch/Deutsch).
    Links auf das Wörterbuch oder auch auf einzelne Übersetzungen sind immer herzlich willkommen!