Qurak

Throw

Disponível

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

Throw[value]
Throw[value, tag]
Throw[value, tag, 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