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: no data entry in skip list
Topic Summary:
Created On: 9-Aug-2005 09:01
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.
 9-Aug-2005 09:01
User is offline View Users Profile Print this message


Thomas Diedrich

Posts: 8
Joined: 28-Apr-2005

hi, I am trying to use a skiplist to search the current module for modules to build links to. To do so, I am looking for a string in a specific attribute and then search the project for a module name that contains this string. Now I have the specific case that I know, there is only one other module to link to. I tried the following string sVerName = name(mLnkTgt) // current Module int iVerLength = length(sVerName) string s = "SPE-" sVerName[iVerLength-4:iVerLength-1] // Identifier to find other module print s "\t" //prints the identifier sModName = getModName(s) //delivers the modules full name by searching the project if(null sModName) { // write errormessage if null was returned by getModName errorfile << "No module found for searchstring \"" << s << "\"()\n" } print sModName //prints the full name bool b = put (slModNames, s, sModName) //entry for skip list (->b == true) string sSrcName = "" find(slModNames, s, sSrcName) Until now, everything works fine, but the find statement returns an empty string. I really don't know why. Could use a little help. Hendrik Preiß
Report this to a Moderator Report this to a Moderator
 9-Aug-2005 13:09
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

That was hard to read! :-)

Just a hunch, but have you created your Skip list using createString rather than create?

e.g. slModNames = createString

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 9-Aug-2005 15:15
User is offline View Users Profile Print this message


Thomas Diedrich

Posts: 8
Joined: 28-Apr-2005

oh, hmm, well, next time, I will use the attach option And thanks for the hint. But the problem was burried deep inside my own functions. Sorry. Hendrik Preiss
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.