![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Compare Script Topic Summary: Created On: 1-Aug-2006 14:32 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have a script that is looking at three attributes to do a compare and create a Layout DXL of the results.
The script looks at the Object Text, Suggested Rewrite, and Comply. The problem is when Suggested Rewrite is null and Comply not equal Yes the scripte is not display the alternate message. Thanks in advance ------------------------- jobina.l.johnson@boeing.com ![]() |
|
![]() |
|
![]() |
|
Hi Jobina,
at first view over your code I see this incorrect statement : if (!null n) makes no sense, because n is a Buffer and is correctly initialized, so can not be null .... ![]() I think you ment if (length n > 0) ![]() And there is another bug in code : line 55 : displayRich oo --> displayRich dd isn't it ? ![]() Greetings Reik P.S.: I can not test your code here, but I hope this was the problem ![]() ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany Edited: 1-Aug-2006 at 14:59 by Reik Schroeder |
|
![]() |
|
![]() |
|
thanks Reik
Line 55 was the problem changing the If(!null n) made no difference. Thanks again ------------------------- jobina.l.johnson@boeing.com ![]() |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Compare Script
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.