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: Can't get data from dbe list
Topic Summary:
Created On: 3-Nov-2006 21:24
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.
Answer This question was answered by Juan Calvo, on Wednesday, November 8, 2006 3:26 PM

Answer:

Thanks for the input.  I got it to work now. All I had to do was omit the "for strModDBE in dbeList2" loop. Thanks!

string str
int intSzeMod = noElems(dbeList2)
for(x=0;x<intSzeMod;x++) {
  str = (string get(dbeList2, x))
  print str "\n"
}

 3-Nov-2006 21:24
User is offline View Users Profile Print this message


Juan Calvo

Posts: 4
Joined: 3-Aug-2006

I need to get some data from a dbe list. If I do
 
string strTemp =get(dbeList)
 
all I get is only one of the items in the dbe list.
I have tried a for increment loop, and that didnt work.
Any suggestions? Thanks!

int intSzeMod = noElems(dbeList2)
for(x=0;x<intSzeMod;x++){ 
  for strModDBE in dbeList2 do { 
  print strModDBE "\n"
  }
}
print intSzeMod

Report this to a Moderator Report this to a Moderator
 3-Nov-2006 23:10
User is offline View Users Profile Print this message


Ewen Miller

Posts: 99
Joined: 20-Nov-2002

int intSzeMod = noElems(dbeList2)
for(x=0;x<intSzeMod;x++){
for strModDBE in dbeList2[x] do {
print strModDBE "\n"
}
Report this to a Moderator Report this to a Moderator
 3-Nov-2006 23:15
User is offline View Users Profile Print this message


Ewen Miller

Posts: 99
Joined: 20-Nov-2002

Pressed the wrong button try:-

DBE myDBEs={x,y,z}//array of existing DBEs
int i

for(i=0;i<sizeof(myDBEs);i++)
{
string s=get(myDBEs
print s "\n"
}
Report this to a Moderator Report this to a Moderator
 8-Nov-2006 15:26
User is offline View Users Profile Print this message


Juan Calvo

Posts: 4
Joined: 3-Aug-2006

Answer Answer

Thanks for the input.  I got it to work now. All I had to do was omit the "for strModDBE in dbeList2" loop. Thanks!

string str
int intSzeMod = noElems(dbeList2)
for(x=0;x<intSzeMod;x++) {
  str = (string get(dbeList2, x))
  print str "\n"
}

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.