New conditional test in TCC 12.10

May 29, 2008
572
4
Groton, CT
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