![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Louie's TidBit #6: Full or Base Names Topic Summary: Created On: 21-Oct-2003 22:19 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Module names can be UnQualified ("MyModule"), PartialyQualified ("MyFolder/MyModule"), or FullyQualified ("/MyProject/MyFolder/MyModule"). If you use such a name in most DXL calls, the Un and Partially qualified names are relative to the 'current' folder.
Several DXL perms return the name of the module, but many return only the unqualified names. For example, the "string source(link)" returns the unqualified name of the source of the link. That does you no good if you figure to open it up. Whereas the "ModName_ source(link)" command returns a reference to the module itself, which can be followed by a fullName command. I make the following recomendations in this regard: [] UnQualified and PartiallyQualified names are really only good for reporting. They make terrible indicators for keeping track of your modules. Keep track of your modules with "Module" or "ModName_" variables; but if you must keep track of them with string be sure you use the fullName. [] Consider using variables that indicate the form of the contents. I routinely use variables "NameModFull" and "NameModBase". [] Do NOT use DXL perms that return the UNqualified names. They're only worth is when the module is in the current folder; whatever that is. Read the small print in the manual carefully. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Louie's TidBit #6: Full or Base Names
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.