Qurak

Return

Disponible, difiere de la referencia .wl

Inside a function body, exits early returning a value.

Return[expr]
Return[]
f[x_] := Return[x + 1]; f[5] → 6ToString[Table[Return[1], {2}], InputForm] → {Return[1], Return[1]}f[] := (Table[Return[1], {2}]; 9); f[] → 9Do[Return[5], {2}] → 5

Temas

Relacionadas

Las 6300 funciones · Usar esto desde un cliente MCP