Index: openacs-4/packages/acs-templating/www/doc/demo/if.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/if.adp,v diff -u -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/acs-templating/www/doc/demo/if.adp 9 Jun 2016 13:03:12 -0000 1.4.2.1 +++ openacs-4/packages/acs-templating/www/doc/demo/if.adp 22 Jun 2016 07:48:44 -0000 1.4.2.2 @@ -5,13 +5,13 @@

Conditional Expressions

-

The value of x is @x@
- The value of y is @y@
- The value of n is @n@
- The value of bool_t_p is @bool_t_p@
- The value of bool_1_p is @bool_1_p@
- The value of bool_f_p is @bool_f_p@
- The value of bool_0_p is @bool_0_p@

+

The value of x is @x@
+ The value of y is @y@
+ The value of n is @n@
+ The value of bool_t_p is @bool_t_p@
+ The value of bool_1_p is @bool_1_p@
+ The value of bool_f_p is @bool_f_p@
+ The value of bool_0_p is @bool_0_p@

@@ -20,105 +20,105 @@ - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + +
Result
eqif \@x\@ eq 5X is 5X is not 5
eqif \@x\@ eq 5X is 5X is not 5
eqif \@x\@ eq 6X is 6X is not 6
eqif \@x\@ eq 6X is 6X is not 6
eqif \@n\@ eq "Fred's Flute"N is "Fred's Flute" - N is not "Fred's Flute"
eqif \@n\@ eq "Fred's Flute"N is "Fred's Flute" + N is not "Fred's Flute"
eqif \@n\@ eq "Fred"N is "Fred" - N is not "Fred"
eqif \@n\@ eq "Fred"N is "Fred" + N is not "Fred"
definedif \@x\@ definedx is defined - x is undefined
definedif \@x\@ definedx is defined + x is undefined
nilif \@x\@ nilx is nil - x is nonnil
nilif \@x\@ nilx is nil + x is nonnil
definedif \@z\@ definedz is defined - z is undefined
definedif \@z\@ definedz is defined + z is undefined
nilif \@z\@ nilz is nil - z is nonnil
nilif \@z\@ nilz is nil + z is nonnil
definedif \@w\@ definedw is defined - w is undefined
definedif \@w\@ definedw is defined + w is undefined
nilif \@w\@ nilw is nil - w is nonnil
nilif \@w\@ nilw is nil + w is nonnil
nilif \@w\@ nilw is nil - w is nonnil
nilif \@w\@ nilw is nil + w is nonnil
trueif \@bool_t_p\@ trueok - not ok
trueif \@bool_t_p\@ trueok + not ok
trueif \@bool_1_p\@ trueok - not ok
trueif \@bool_1_p\@ trueok + not ok
true shortif \@bool_t_p\@ok - not ok
true shortif \@bool_t_p\@ok + not ok
true shortif \@bool_1_p\@ok - not ok
true shortif \@bool_1_p\@ok + not ok
falseif \@bool_f_p\@ falseok - not ok
falseif \@bool_f_p\@ falseok + not ok
falseif \@bool_0_p\@ falseok - not ok
falseif \@bool_0_p\@ falseok + not ok