File: case.fs

package info (click to toggle)
fcode-utils 1.0.2-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 46,772 kB
  • ctags: 1,284
  • sloc: ansic: 9,705; csh: 241; makefile: 106; sh: 17
file content (14 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\ This example tests the capability of tokenizing case..endcase
\ expressions. If the output is "choice 2" everything worked ok.

fcode-version2

2 case
	1 of " choice 1" type endof
	2 of " choice 2" type endof
	3 of " choice 3" type endof
endcase
cr

fcode-end