Subversion Repositories wimsdev

Rev

Rev 14064 | Rev 14663 | Go to most recent revision | 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 $\
11223 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
32
      !replace internal `` by $emph in $text
33
    !endif
34
    !if $ff=mean and $cc iswordof randfile record recordcnt
35
      !read cmd/datafile.phtml
36
    !endif
37
    $(lst_$(ff)end)
14279 obado 38
    </div>
11223 bpr 39
  !endif
14064 bpr 40
!next
14279 obado 41
 
14064 bpr 42
!if $cc iswordof if
43
  !read help/if.phtml
44
!endif
45
!set text=!lookup numlist in cmd/$cc.phtml
46
!if $text!=$empty
47
  !set text=!replace internal ` by $emph in $text
48
  !replace internal ' by $emphend in $text
49
!endif
14279 obado 50
 
51
!set text=!lookup sample in cmd/$cc.phtml
52
!if $text!=$empty
53
  <div>
54
  $lst_sample
55
  <table class="wimstable" summary="list some samples for !$cc command">
56
  <thead><tr><th>Command</th><th>Result</th></tr></thead>
57
  <tbody>
58
    !read cmd/$cc.phtml
59
  </tbody>
60
  </table>
61
  <div>
62
!endif