jeddi
02-09-2010, 07:52 AM
Hi,
I am creating an array from a table,
(if I can get it to work - see other thread)
Because it is dynamic, I do not know how many elements
the array will contain. But I do want to only have a maximum of 60
and these 60 must be the last 60 elements.
Most of the time the number of elements will be lower than 40, but I must make sure that it is less than 61 elements.
So if my array has (data1, data2, ... data60, data61, data62, data63)
then I want to strip out the first three data elements and leave the last 60 in the array.
Does anyone know how I can achieve this ?
Thanks
.
I am creating an array from a table,
(if I can get it to work - see other thread)
Because it is dynamic, I do not know how many elements
the array will contain. But I do want to only have a maximum of 60
and these 60 must be the last 60 elements.
Most of the time the number of elements will be lower than 40, but I must make sure that it is less than 61 elements.
So if my array has (data1, data2, ... data60, data61, data62, data63)
then I want to strip out the first three data elements and leave the last 60 in the array.
Does anyone know how I can achieve this ?
Thanks
.