Subversion Repositories wimsdev

Rev

Rev 5921 | Rev 11223 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5921 Rev 11210
Line 1... Line 1...
1
!! +var+ +string+
1
!! +var+ +string+
-
 
2
tit:getopt
2
$lst_tit getopt$lst_titend$type_both
3
type:$type_both
3
  $(lst_syntax)getopt $emph name$emphend in $emph string$emphend</span>
4
syntax:getopt `name' in `string'
4
  $lst_mean This command allows to extract the definition of a word in
5
mean:This command allows to extract the definition of a word in `string' under the form `name=value'.\
5
  $emph string$emphend under the form $emph name=value$emphend.
-
 
6
  <p>
6
  <p>\
7
  It returns the defined $emph value$emphend in the string, or the
7
  It returns the defined `value' in the string, or the `name' itself if it appears in `string'\
8
  $emph name$emphend itself if it appears in $emph string$emphend but
-
 
9
  if there is no $emph =$emphend sign following it, or an empty string
8
  but if there is no `=' sign following it, or an empty string if `name' does not appear \
10
  if $emph name$emphend does not appear in $emph string$emphend as a word.
9
  in `string' as a word.\
11
  </p><p>
10
  </p><p>\
12
  $emph value$emphend can be a multi-word string, if it is enclosed by a
11
  `value' can be a multi-word string, if it is enclosed by a pair of parentheses, brackets, \
13
  pair of parentheses, brackets, curly braces or double quotes. The enclosing
-
 
14
  parentheses etc. will be removed from the output.
12
  curly braces or double quotes. The enclosing parentheses etc. will be removed from the output.\
15
  </p><p>
13
  </p><p>\
16
  Spaces are allowed before and/or after the $emph =$emphend sign.
14
  Spaces are allowed before and/or after the `=' sign.\
17
  </p>
15
  </p>
18
 
-