Vertaling van "try-Blocks" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Alle übrigen Anweisungen innerhalb des TRY-Blocks werden dabei übersprungen.
All subsequent statements within the TRY block will be skipped.
Innerhalb des TRY-Blocks einer BEGIN... END-Anweisung hat diese Option keine Wirkung und die Fehlerbehandlung verhält sich gemäß der Definition innerhalb des TRY-Blocks.
This option has no effect within the TRY block of a BEGIN... END statement, and the error handling behavior defined within the TRY block.
Wenn im Try-Blocks ein Fehler auftritt, wird der Fehler zunächst in der automatischen Variablen $Errorgespeichert.
When an error occurs within the Try block, the error is first saved to the $Error automatic variable.
Wenn im Try-Blocks ein Fehler auftritt, wird der Fehler zunächst in der automatischen Variablen"$Error"gespeichert.
When an error occurs within the Try block, the error is first saved to the $Error automatic variable.
Beispiel: Im folgenden Codebeispiel wird die n-Variable innerhalb des try-Blocks initialisiert.
For example, in the following code example, the variable x is initialized inside the try block.
Initialisieren Sie innerhalb eines try-Blocks nur Variablen, die auch in diesem deklariert sind. Andernfalls kann eine Ausnahme auftreten, bevor die Ausführung des Blocks abgeschlossen ist.
When inside a try block, only initialize variables that are declared therein; otherwise, an exception can occur before the execution of the block is completed.
Nach der Ausführung des try-Blocks (auch teilweise) und gegebenenfalls des catch-Blocks werden in jedem Fall die Anweisungen im finally-Block ausgeführt.
Beim Versuch, diese Variable außerhalb des try-Blocks in der Write(n)-Anweisung zu verwenden, wird ein Compilerfehler generiert. C# Kopieren
An attempt to use this variable outside the try block in the Write(x) statement will generate the compiler error: Use of unassigned local variable.
Hinweis: In CFScript folgen die catch-Anweisungen dem try-Block. Sie sollten nicht innerhalb des try-Blocks positioniert werden.
Note: In CFScript, catch statements follow the try block; you do not put them inside the try block.