xenv - News: Version 4.1
Version 4.1
Item posted by Sergey Poznyakoff <gray> on Thu Feb 23 13:51:10 2023.
Version 4.1 is available for download. New in this version:
Diagnostic directives: $$warning and $$error
The $$warning directive emits a warning message. It does not alter exit status in any way.
The $$error directive reports a fatal error and sets exit status to 65 (or any other, if supplied as argument).
After both directives, processing is resumed at the next line.
$$exit
New directive $$exit causes immediate termination of the program. Decimal exit code may be supplied as argument.
$$eval
The text between $$eval and $$end is expanded and the resulting expansion is scanned again, producing the actual output. This makes it possible to create variable names on the fly and obtain their values.
Useful in loops, e.g.:
$$range I 0 7 $$ eval \$\$ ifset VAR_$I Expand \$VAR_$I; \$\$ endif $$ end $$end
Checksums
8df25c8c8d208c785cb6910ab8e14b9e xenv-4.1.tar.gz 65510c9410647c45dcc4881a69409f14c8911835 xenv-4.1.tar.gz a5ebe49452eeecb0d36a3effff258f67d217cbd6e911f112b992c5fd9fb6520d xenv-4.1.tar.gz
Comments:
No messages in Version 4.1