alzuaak12

A

alzuaak12

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!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,163
Messages
2,570,897
Members
47,434
Latest member
TobiasLoan

Latest Threads

Top