File: teststrseq.r

package info (click to toggle)
ratfor 1.07-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 624 kB
  • sloc: ansic: 3,622; sh: 1,248; makefile: 147
file content (14 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Test that, when multiple string directives appear in sequence, we do not emit
# the data statements until the end of the sequence.
define eos -2
   subroutine swend (lab)
   integer lab

   string one "one"
   string two "two"
   if (lab == 1)
      call out(one)
   else
      call out(two)
   return
   end