Creating a 2D Array

Joined
Jun 13, 2008
Messages
8
Reaction score
0
Say I wanted to create an array with 5 rows, having 20 elements in each row. How would I go about creating this?

Also, once I have it created is there a way to assign values to a single row using syntax such as: ARRAY(2) <= (0=>'1', 1=>'0', others => '0');

I am familiar with normal arrays, but not entirely sure how to do a 2D Array.

Any help is greatly appreciated. Thanks!
 

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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top