Subversion Repositories wimsdev

Rev

Rev 14279 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !set cc=$wims_read_parm
  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
  10.   !set text=!lookup $ff in cmd/$cc.phtml
  11.   !if $text!=$empty
  12.     <div>
  13.     $(lst_$ff)
  14.     !set text=!replace internal `` by $emph in $text
  15.     !if $ff=syntax
  16.       !set text=!replace internal $\
  17. $ by $(lst_$(ff)end) <br/>$lstyle2 in $text
  18.     !endif
  19.     !replace internal '' by $emphend in $text
  20.     !if $ff=mean and $cc iswordof word column char item line record
  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.       <div>
  33.       !replace internal `` by $emph in $text
  34.       </div>
  35.     !endif
  36.     !if $ff=mean and $cc iswordof randfile record recordcnt
  37.       !read cmd/datafile.phtml
  38.     !endif
  39.     $(lst_$(ff)end)
  40.     </div>
  41.   !endif
  42. !next
  43.  
  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
  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>
  63.  </div>
  64. !endif
  65.