11-10-2008 07:14 PM
When I open one of the modules in this sequence I saw one of the inputs was set as “(FileGlobals.FixtureNo == 1) ? 0:1” . What does it tell me?
11-11-2008 01:00 AM
Hi,
This is a conditional statement:
(FileGlobals.FixtureNo==1), this is saying is FileGlobals.FixtureNo equal too 1, hence the double equals symbol. The answer will be TRUE, it is equal and FALSE it is not equal. This is different to FileGlobals.FixtureNo=1, which is set FileGlobals.FixtureNo to the value of 1.
If it is TRUE then the input will be set to 0
If it is FALSE then the input will be set to 1
Hope this helps
Regards
Ray Farmer
11-11-2008 10:38 AM