File: nested-if-else.txt.rsp

package info (click to toggle)
r-cran-r.rsp 0.46.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,472 kB
  • sloc: javascript: 612; tcl: 304; sh: 18; makefile: 16
file content (17 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

<%@string A="TRUE"%>
<%@string B="TRUE"%>

<%@ifeq A="TRUE"%>
 <%@ifeq B="TRUE"%>
  (A,B) = (TRUE, TRUE)
 <%@else # ifeq B | A %>
  (A,B) = (TRUE, FALSE)
 <%@endif # ifeq B | A %>
<%@else # ifeq A %>
 <%@ifeq B="TRUE"%>
  (A,B) = (FALSE, TRUE)
 <%@else # ifeq B | !A %>
  (A,B) = (FALSE, FALSE)
 <%@endif # ifeq B | !A %>
<%@endif # ifeq A %>