Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/autogen/autogen.html/ drwxr-xr-x | |
| Viewing file: Select action/file-type: Next: COMMENT, Previous: BREAK, Up: native macros [Contents][Index] 3.6.3 CASE - Select one of several template blocksThe arguments are evaluated and converted to a string, if necessary. A
simple name will be interpreted as an AutoGen value name and its value will
be used by the
For example: [+ CASE <full-expression> +] [+ ~~* "[Tt]est" +]reg exp must match at start, not at end [+ == "TeSt" +]a full-string, case sensitive compare [+ = "TEST" +]a full-string, case insensitive compare [+ !E +]not exists - matches if no AutoGen value found [+ == "" +]expression yielded a zero-length string [+ +E +]exists - matches if there is any value result [+ * +]always match - no testing [+ ESAC +]
These case selection codes have also been implemented as Scheme expression functions using the same codes. They are documented in this texi doc as “string-*?” predicates (see Common Functions). Next: COMMENT, Previous: BREAK, Up: native macros [Contents][Index] |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0094 ]-- |