slang-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] Making a Array ....


I need a way to create a String array that can be extended.

i.e.
(Pseudo Code)

variable MyArray = Array_Type [ ] ;
variable MyString ;

while ( getnextstring (MyString)
{
  if MyString == NULL
     break ;
  MyArray = MyArray + MyString
}

SO that a strings will always add to and increase the
size of the array. I need to do this so I can use the
handy dandy array functions.

Any pointers, help code will be appreciated ....

Thanks ..

--
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
       - Hanlon's Razor



[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]