Qurak

Catch

Disponível

Non-local exit — `Throw[val]` unwinds until the innermost `Catch`.

Catch[expr]
Catch[expr, form]
Catch[expr, form, f]
Catch[Throw[42]] → 42Catch[Do[If[i == 3, Throw[i]], {i, 1, 5}]] → 3

Tópicos

Relacionados

Todas as 6300 funções · Usar isto de um cliente MCP