![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: AttrDef Name Topic Summary: Created On: 23-Jul-2008 15:51 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Paul, A very big thanks. that's it!!!!! JP | |
![]() |
|
Hi Everybody,
I'm working with DXL since 3 days. I'm doing a program that exports attributes definition of a module into a XML file. But i'm going crazy because i'm not able to write attribut definition name. Someone can help me please? The program stops at the line : file << "\t\t\t<name>" ad.name "</name>\n" With the error message: -E- DXL: <Line:36> incorrect arguments for (.) -E- DXL: <Line:36> incorrectly concatenated tokens -I- DXL: all done with 2 errors and 0 warnings Thans for all! |
|
![]() |
|
![]() |
|
Hi,
Try casting ad.name as a string (i.e. replace ad.string with "(string ad.name)" ) I am not aware of any other return type for ad.name, but for some reason, it needs to be cast to work. This may not be the solution to your problem, but its the first thing I would try. Hope it helps, Paul |
|
![]() |
|
![]() |
|
On closer inspection, I think that the problem may be that you have declared a string variable called name further up in your code. This creates an ambiguous identifer so DXL can not work out if you mean ad.(string name) or ad.(fn name)
Hope this helps, Paul |
|
![]() |
|
![]() |
|
Paul,
A very big thanks. that's it!!!!! JP |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
AttrDef Name
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.