Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Compare Script
Topic Summary:
Created On: 1-Aug-2006 14:32
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 1-Aug-2006 14:32
User is offline View Users Profile Print this message


Jobina Johnson

Posts: 55
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 1-Aug-2006 14:58
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

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
Report this to a Moderator Report this to a Moderator
 1-Aug-2006 15:10
User is offline View Users Profile Print this message


Jobina Johnson

Posts: 55
Joined: 12-Sep-2002

thanks Reik

Line 55 was the problem

changing the If(!null n) made no difference.

Thanks again

-------------------------


jobina.l.johnson@boeing.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.