![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Array index being overwritten w/o "put"??? Topic Summary: Created On: 18-Sep-2007 16:18 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Never mind figured it out. Needed to put "" in the put statement....i.e. | |
![]() |
|
OK... Maybe the one cup of coffee I had today just didn't get the old noggin a running this morning..... I've got a script where I'm trying to pull part numbers from an object and load them into an array, however the previous entries keep getting overwritten by the next part number that comes in.... Now I've checked the script over and over and there is only one put statement, and the index is incremented each time, so from what I can tell there is no way the previous entries should be getting overwritten.
I've been testing on an object that contains the following object text: 0030-20107-01 0030-20099-01 0100-20029-01 0100-20013-01 0100-20021-01 Yet, when I pull the contents of the first 5 indices of the array I end up with: 0100-20021-01 0100-20021-01 0100-20021-01 0100-20021-01 0100-20021-01 The funny thing is I tried pulling the previous index before I insert the data into the new index and the new data has all ready been loaded into the previous indices.....I left the test statements in the attached script. Any ideas as to what the hell my tired brain is missing??? Thanks, ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
Never mind figured it out. Needed to put "" in the put statement....i.e. ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
Perhaps, you need to start drinking another brand of coffee?
------------------------- pete.kowalski(at)motorola.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Array index being overwritten w/o "put"???
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.