ricky03
Aug 25 2008, 07:55 AM
Hello,
I have a little question.
How can I make a condition like deps[pn]=[PA] or [PB] Because if I put deps[pn]=['PA','PB'] the PC needs PA and PB activated.
Thanks in advance, best Regards
ricky03
Sep 8 2008, 11:28 PM
Hello,
nobody can't help me?
Best Regards
mritter
Sep 11 2008, 05:58 PM
Just tried a quick test.......I see what you are getting at. I think I have a fix for it.................
mritter
Sep 15 2008, 06:05 PM
From your message and above, maybe I don't get what problem you are having.
I took a random entry, picked 3 programs it is dependant on. The entry is disabled until all the other 3 are checked. That is how it should be.
Now, if you put a condition in one of the dependants, it may get hidden with a FileExists() check, for example. That was where I was getting the error message. Now with the update I sent you, a dependant can be hidden (WPI acts like it wasn't even there) so only the other 2 have to be checked.
If you want me to require that if one is hidden then the entry can't be checked at all. It may aftect how other people have done checks, so it will take some thinking over.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.