Fix throw-restarts example
parent
cd27d1337b
commit
fe1daf4e08
|
@ -206,8 +206,8 @@ HELP: throw-restarts
|
||||||
{ $examples
|
{ $examples
|
||||||
"Try invoking one of the two restarts which are offered after the below code throws an error:"
|
"Try invoking one of the two restarts which are offered after the below code throws an error:"
|
||||||
{ $code
|
{ $code
|
||||||
": restart-test"
|
": restart-test ( -- )"
|
||||||
" \"Oops!\" { { \"One\" 1 } { \"Two\" 2 } } condition"
|
" \"Oops!\" { { \"One\" 1 } { \"Two\" 2 } } throw-restarts"
|
||||||
" \"You restarted: \" write . ;"
|
" \"You restarted: \" write . ;"
|
||||||
"restart-test"
|
"restart-test"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue