I would like to extract an element from a container passed into a sequence as a parameter. I have created a basic type which is a container having 1 string element called "Name" and an array of strings called "ATTR" - empty array.
I then create a fileglobal of a container array and size both it and its subarrays (ie: ATTR) individually. This container is then passed into a subcontext where I simply try to "walk" the array.
When I try to extract an element from the top most array (container having Name+ATTR[]), I get a run time error.
Do all subarray(ie:ATTR) have to be set when I declare the array as a type? Do all subarray have to be the same size?
I guess a C comparison would somthing like:
struct {
string Name;
string ATTR[];
}master[];
Where ATTR is initially empty and in the top most sequence file, I define master[3] and master[0].ATTR[3], master[1].ATTR[4] and master[2].ATTR[5].
When I use the syntax: Locals.Item=RemoveElements(Parameters.TagList, "[0]" ,1)
I have a local container called Item (of the same type as Taglist but not an array) and am trying to get the 1st element form the passed in list. I get an incompatibility error message??
rjmiller
rjmiller