fouls and injuries
I was working on a conditional and really wanted the foul dif or inj diference.
Code: Select all
<commentary cond="_FOULS0_ + _FOULS1_ >= 4">There are two teams out there and only one of them is playing football</commentary>
is not what i want. what i want to know is if one of the sides has many more fouls than the other.
Code: Select all
<commentary cond="_FD_ >= 4">There are two teams out there and only one of them is playing football</commentary>
so [_FOULS0_ - _FOULS1_] you say.but what if that equates to 0-5.. which it cant calculate
so how in your wonderfull system should i solve this.
BTW its very difficult testing such comments when its hard to produce the required situation. it would be alot easier and quicker if there was a stand alone app that allowed me to fill in the variables (say in an xml or text file) to create a specific condition and then run that on a single comment .
it could be a command line thing
testbygtry <commentary cond="_FD_ >= 4">There are two teams out there and only one of them is playing football</commentary>
testbygtry first reads in the variables from the bygtryvar file then runs the comments against it. and prints it out.
or better still
testbygtry mycomnts.xml
where it reads in the vars as b4 but runs it aginst all the comments in the mycomnts.xml printing out as required.
just a thought
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?