Re: Multi-purpose / Single source
Since Java is used to resolve the conditions, Java syntax can be used
for complex Boolean conditions can be used. In one manual, a dimensional
drawing showing a small video lamp is surrounded by the following
condition:
(HAS.HANDLE.AND.RC || !HAS.HANDLE.AND.RC) && HAS.VIDEO.LAMP
which would mean that cameras which HAVE OR HAVE NOT a handle and remote
control, AND HAS the possibility to connect a video lamp will have this
dimensional drawing included.
Ummm, this logic is slightly broken, isn't it? The expression
(HAS.HANDLE.AND.RC || !HAS.HANDLE.AND.RC)
appears to be a tautology, true regardless of the value of
HAS.HANDLE.AND.RC, so the entire condition could be replaced by
HAS.VIDEO.LAMP
Is there some situation I'm not seeing, in which
(HAS.HANDLE.AND.RC || !HAS.HANDLE.AND.RC) could be false?
Some other example would better show the power of using moderately
complex Boolean conditions.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ROBOHELP X5 - SEE THE ALL NEW ROBOHELP X5 IN ACTION!
RoboHelp X5 is a giant leap forward in Help authoring technology, featuring all new Word 2003 support, Content Management, Multi-Author support, PDF and XML support and much more! View an online demo: http://www.macromedia.com/go/techwrldemo
---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- techwr-l -dot- com
Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.
References:
RE: Multi-purpose / Single source: From: Broberg, Mats
Previous by Author:
Re: Opinions about datacenter usage
Next by Author:
Re: Help with Outsourcing Tech Pubs
Previous by Thread:
RE: Multi-purpose / Single source
Next by Thread:
RE: RE: Multi-purpose / Single source
Search our Technical Writing Archives & Magazine
Visit TechWhirl's Other Sites
Sponsored Ads