newsxenv - News: Version 4.1

 
 
Show feedback again
Latest News
Version 4.1 posted by gray, Thu Feb 23 13:51:10 2023 - 0 replies
Version 4.0 posted by gray, Thu Aug 25 13:30:10 2022 - 0 replies
Vesrsion 3.2 posted by gray, Sat Aug 13 07:50:05 2022 - 0 replies
Version 3.1 posted by gray, Fri Apr 1 08:46:01 2022 - 0 replies
Version 3.0 posted by gray, Wed Feb 9 15:35:32 2022 - 0 replies
[Submit News]
[12 news in archive]

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

 

Show feedback again

Back to the top


Powered by Savane 3.1-cleanup+gray