A
alzuaak12
Guest
I'm trying to assign the first row of a matrix to a vector. They have same
type, but i don´t know how can i do that. I've tried this solution but
compiler error...
....
TYPE matrix is array (integer range<>,integer range<> of integer
TYPE vector is array (integer range<> of integer;
....
a: matrix(0 TO 10,0 TO 10);
b: vector(0 TO 10);
....
--I've considered this instruction but compile error
b <= a(0,0 TO 10);
....
PLEASE HELP!!
type, but i don´t know how can i do that. I've tried this solution but
compiler error...
....
TYPE matrix is array (integer range<>,integer range<> of integer
TYPE vector is array (integer range<> of integer;
....
a: matrix(0 TO 10,0 TO 10);
b: vector(0 TO 10);
....
--I've considered this instruction but compile error
b <= a(0,0 TO 10);
....
PLEASE HELP!!