![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to get Array size? Topic Summary: Size of Array type, not a string array Created On: 20-May-2005 16:57 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I don't think there is any way to determine the size of an Array. I am assuming you mean a DOORS two-dimensional Array declared with the create function. It is up to the programmer to keep track of the array size, because it will expand automatically as you add data. Also, values extracted from the array need to be explicitly cast to the correct type. Extracting data from an array location that has not been initialised causes an error. | |
![]() |
|
I have searched and searched and have not found any way to determine the dimensions of an Array. Does anyone know how to do this seemingly basic operation?
Thanks! Shawn ------------------------- Shawn Stepper shawn.e.stepper@wellsfargo.com |
|
![]() |
|
![]() |
|
I don't think there is any way to determine the size of an Array. I am assuming you mean a DOORS two-dimensional Array declared with the create function.
It is up to the programmer to keep track of the array size, because it will expand automatically as you add data. Also, values extracted from the array need to be explicitly cast to the correct type. Extracting data from an array location that has not been initialised causes an error. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Thanks, that's what I was afraid of.
------------------------- Shawn Stepper shawn.e.stepper@wellsfargo.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
How to get Array size?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.