Mercurial > octave-nkf
comparison scripts/strings/validatestring.m @ 13708:ee28bf4c3c29
doc: Use @{ macro for curly brace in validatestring Texinfo docstring
* doc: Use @{ macro for curly brace in validatestring Texinfo docstring
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 Oct 2011 13:18:41 -0700 |
parents | 35f7cbf09c77 |
children | 050bc580cb60 |
comparison
equal
deleted
inserted
replaced
13707:35f7cbf09c77 | 13708:ee28bf4c3c29 |
---|---|
40 ## | 40 ## |
41 ## Examples: | 41 ## Examples: |
42 ## | 42 ## |
43 ## @example | 43 ## @example |
44 ## @group | 44 ## @group |
45 ## validatestring ("r", {"red", "green", "blue"}) | 45 ## validatestring ("r", @{"red", "green", "blue"@}) |
46 ## @result{} "red" | 46 ## @result{} "red" |
47 ## | 47 ## |
48 ## validatestring ("b", {"red", "green", "blue", "black"}) | 48 ## validatestring ("b", @{"red", "green", "blue", "black"@}) |
49 ## @result{} error: validatestring: multiple unique matches were found for 'b': | 49 ## @result{} error: validatestring: multiple unique matches were found for 'b': |
50 ## blue, black | 50 ## blue, black |
51 ## @end group | 51 ## @end group |
52 ## @end example | 52 ## @end example |
53 ## | 53 ## |