Subversion Repositories wimsdev

Rev

Rev 14663 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14064 bpr 1
!set cc=$wims_read_parm
14279 obado 2
 
3
!set text=!lookup tit in cmd/$cc.phtml
4
 
5
!if $text!=$empty
6
  $lst_tit $text $lst_titend
7
!endif
8
 
9
!for ff in type,syntax,alias,mean
14064 bpr 10
  !set text=!lookup $ff in cmd/$cc.phtml
11
  !if $text!=$empty
14279 obado 12
    <div>
14064 bpr 13
    $(lst_$ff)
14
    !set text=!replace internal `` by $emph in $text
15
    !if $ff=syntax
16
      !set text=!replace internal $\
17228 bpr 17
$ by $(lst_$(ff)end) <br>$lstyle2 in $text
14064 bpr 18
    !endif
19
    !replace internal '' by $emphend in $text
20
    !if $ff=mean and $cc iswordof word column char item line record
11428 bpr 21
      !set numlist_type=$cc
22
      !if $numlist_type=record
23
        !set numlist_str=``fname''
24
      !else
25
        !set numlist_str=``string''
26
      !endif
27
      !if $numlist_type=char
28
        !set numlist_type=character
29
      !endif
30
      !set text=!record 0 of cmd/numlist
31
      !set text=!replace internal '' by $emphend in $text
14663 bpr 32
      <div>
11428 bpr 33
      !replace internal `` by $emph in $text
14663 bpr 34
      </div>
11428 bpr 35
    !endif
36
    !if $ff=mean and $cc iswordof randfile record recordcnt
37
      !read cmd/datafile.phtml
38
    !endif
39
    $(lst_$(ff)end)
14279 obado 40
    </div>
11223 bpr 41
  !endif
14064 bpr 42
!next
14279 obado 43
 
14064 bpr 44
!if $cc iswordof if
45
  !read help/if.phtml
46
!endif
47
!set text=!lookup numlist in cmd/$cc.phtml
48
!if $text!=$empty
49
  !set text=!replace internal ` by $emph in $text
50
  !replace internal ' by $emphend in $text
51
!endif
14279 obado 52
 
53
!set text=!lookup sample in cmd/$cc.phtml
54
!if $text!=$empty
55
  <div>
56
  $lst_sample
57
  <table class="wimstable" summary="list some samples for !$cc command">
58
  <thead><tr><th>Command</th><th>Result</th></tr></thead>
59
  <tbody>
60
    !read cmd/$cc.phtml
61
  </tbody>
62
  </table>
14663 bpr 63
  </div>
14279 obado 64
!endif