A
Amal
Guest
How does declare a function to return an unpacked array of integers?
The following code the header of the function declares a packed
array. How does one change it to an unpacked array?!
function integer [0:9] f();
integer result[0:9]
for( int i=0; i<10; i++ )
result = i;
end
return result;
endfunction f;
Thanks,
-- Amal
The following code the header of the function declares a packed
array. How does one change it to an unpacked array?!
function integer [0:9] f();
integer result[0:9]
for( int i=0; i<10; i++ )
result = i;
end
return result;
endfunction f;
Thanks,
-- Amal