![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Problems with code Topic Summary: Created On: 19-Sep-2002 10:25 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Your reference to "Object Heading" within the "if" statement needs to be "typed" as a string value with double double-quotes, so use 'if (obj."Object Heading" "" == xyz)' - Louie | |
![]() |
|
Hi,
I am new here. Can anyone tell me what's wrong with my following code? create object type "String" inherit true attribute "tcs" Object o = current Module m = current for o in all m do { if (o."Object Heading" == "1.1 Initial Registration") o."tcs" = "Initial Registration" } When I run it, I got the following error message: E- DXL: incorrect arguments for (==) -E- DXL: incorrect arguments for (if) -I- DXL: all done with 2 errors and 0 warnings thanks a lot, hong |
|
![]() |
|
![]() |
|
Your reference to "Object Heading" within the "if" statement needs to be "typed" as a string value with double double-quotes, so use 'if (obj."Object Heading" "" == xyz)'
- Louie |
|
![]() |
Telelogic DOORS
» Defect/Issue Tracking
»
Problems with code
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.