Extracted from the UniBasic Commands Reference for INMAT()

In the next example, the program segment dimensions two arrays and then prints 
the
dimensions using the PRINT statement and INMAT function:
DIM LARGE.ARRAY(23,14)
DIM SMALL.ARRAY(9)
PRINT INMAT(LARGE.ARRAY)
PRINT INMAT(SMALL.ARRAY)
This results in the following:
23}14
9

Wally Terhune
Technical Support Architect
Rocket Software
4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
t: +1 720 475 8055 **e: [email protected] **w: rocketsoftware.com/u2




-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jeffrey Butera
Sent: Wednesday, May 23, 2012 1:59 PM
To: U2 Users List
Subject: [U2] matrix dimension

I don't work with MATrices much in Unidata.

If I have my hands on a matrix setup from another program is there a function 
to determine it's dimensions?  My reading of DIM doesn't indicate it can do 
this and I don't see anything in the various MAT... 
commands that looks promising.


--
Jeffrey Butera
Manager of ERP Systems
Hampshire College
413-559-5556

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to