IfValidAnd() function, has an issue when encountering undefined data at more
than one indirection. An example rule where the function is used in this
context is:
RULE TrmlUnit:InducedAirZnRef
...
CHECKSIM
...
if( IfValidAnd( InducedAirZnRef:Name = ZnServedRef:RetPlenumZnRef:Name ) )
then ...
if RetPlenumZnRef is UNDEFINED, the function returns an error indicating the
arguments on both sides are not the same datatype.
Also, this may already be the case, but it would be ideal if the
LocalCompAssigned() function could be used ensure a component is assigned for
any of the object ref properties if multiple indirections are used. For
example it would be ideal if:
LocalCompAssigned( ZnServedRef:RetPlenumZnRef:... )
returns FALSE if no object is assigned to ZnServedRef, RetPlenumZnRef, etc.
This may already be the case, but I have not tested.
What version of CBECC-NRes are you using? On what operating system?
r3014+.
Please provide any additional information below.
Original issue reported on code.google.com by da...@360-analytics.com on 31 Jan 2015 at 7:55
Original issue reported on code.google.com by
da...@360-analytics.com
on 31 Jan 2015 at 7:55