File: example11.spltpl

package info (click to toggle)
spl 1.0~pre4-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,300 kB
  • ctags: 2,057
  • sloc: ansic: 16,076; yacc: 3,184; sh: 296; makefile: 180; xml: 156
file content (10 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10

This is a template file for $language.
It is like a quoted string which allows $$ substitutions.
Do not underestimate the power of ${ "S" ~ ({

	if ( "apples" ~== "bananas" ) return "S";
	if ( "apples" ~!= "bananas" ) return "P";
	return "L";

}) ~ "L" }!