Fix an example in syntax docs

db4
Alex Chapman 2009-04-17 19:07:45 +10:00
parent 122203d142
commit c2a35ecf33
1 changed files with 4 additions and 4 deletions

View File

@ -526,10 +526,10 @@ HELP: ((
{ $notes "Useful for meta-programming with " { $link define-declared } "." }
{ $examples
{ $code
"SYMBOL: my-dynamic-word"
"<< SYMBOL: my-dynamic-word"
"USING: math random words ;"
"3 { [ + ] [ - ] [ * ] [ / ] } random curry"
"(( x -- y )) define-declared"
"my-dynamic-word 3 { [ + ] [ - ] [ * ] [ / ] } random curry"
"(( x -- y )) define-declared >>"
}
} ;