Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

New conditional test in TCC 12.10

May
572
4
The release notes for 12.10 say:
Conditional tests (DO, FOR, IF, IFF) have two new tests:
string =~ expression Returns 1 if the string matches the regular expression
string !~ expression Returns 1 if the string does not match the regular expression

I presume "Returns 1" means "results in a true condition". Yes?
 
Also, in "Conditional tests (DO, FOR, IF, IFF) have two new tests",
@IF should be included within the parentheses.

I question whether FOR should be included; is there a syntax of FOR that uses conditional expressions? I didn't see it in the help.
 

Similar threads

Back
Top