![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: error when trying to access argument Topic Summary: Created On: 17-Mar-2003 12:25 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello.
I've got a DXL attribute, name "Sync", type bool. Current DXL is as follows: Object oc = current bool cp cp = oc."Sync" if cp then .... If "Sync" is not set to true or false, I've got an error message. What can I do? |
|
![]() |
|
![]() |
|
Duma,
Interesting observation. After doing some testing in DOORS 6, it seems that the value "false" will be returned to the boolean variable when the value is actually "null". I don't know if this is a bug or a "feature." You can use the following construct: if ( null oc."Sync" "" ) to differentiate values of "false" and "null", to bypass the feature described above. This returns the value of the boolean variable as a string, which will be a null string for null values. ------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
error when trying to access argument
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.