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: 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
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.
 21-Oct-2003 22:19
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
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.