File: steps.proc

package info (click to toggle)
wims 2%3A4.30%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 185,332 kB
  • sloc: xml: 366,687; javascript: 120,570; java: 62,170; ansic: 61,221; sh: 7,747; perl: 3,939; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (25 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
!nocache
oefstepcnt=0
!if $oefsteps=$empty
  oefstep=0
  !exit
!endif
oefsteps=!translate $	\
$ to ;; in $oefsteps
oefsteps=!lower $oefsteps
oefsteps=!replace replies by r in $oefsteps
oefsteps=!replace choices by c in $oefsteps
oefsteps=!replace reply by r in $oefsteps
oefsteps=!replace choice by c in $oefsteps
oefsteps=!nospace $oefsteps
oefsteps=!rows2lines $oefsteps
!if $dynstep=yes
  oefsteps=!line 1 of $oefsteps
!endif
oefsteps=!nonempty lines $oefsteps
oefstepcnt=!linecnt $oefsteps
rr=!text select r in $oefsteps
cc=!text select c in $oefsteps
creplycnt=!charcnt $rr
cchoicecnt=!charcnt $cc
!default oefstep=1