![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: for BaselineLine in Module do Topic Summary: Created On: 4-Aug-2004 14:50 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I had some intermittent problems with the baseline loop. I discovered a while ago you cannot have nested "for bl in mod do" loops, but that's no surprise. Yesturday I had intermittent exception violations for a particular module, doing the following:
for bl in mod do { Major = major(bl) mBL = load(mod, bl, false) look at baseline close(mBL) } The bl loop counter was getting corrupted but only for one module, and then only half the time. I think it has to do with the open/close and the major/minor command, and perhaps that the "current" module was getting reset. Anyway, I resolved the problem using a Skip list as follows: Skip skpBLs = create for bl in mod do { put(skpBLs, bl, bl) } for bl in skpBLs do { Major = major(bl) mBL = load(mod, bl, false) look at baseline close(mBL) } delete(skpBLs). All my baseline loops are going to look this way from this point on. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
for BaselineLine in Module do
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.