OOH, thats what the second attribute is for .

I did test it, and DIMensioned my test to 10,5
and yes, the second attribute changed from 1 -> 5

So, the second attribute is not the starting attribute, but the Y dimension.

George

From: [email protected] 
[mailto:[email protected]] On Behalf Of Brian Leach
Sent: Monday, June 01, 2009 11:20 AM
To: 'U2 Users List'
Subject: Re: [U2] Dimensioned Array Question

Hi Karen

That should work on UniVerse also:

CT test.bp call called

     call
0001 DIM Array(20)
0002 call called(MAT Array)

     called
0001 SUBROUTINE called(MAT Array)
0002 Crt InMat(Array)
0003 STOP

run test.bp call
20ý1

i.e. 20 x 1 (remember arrays can be more than one dimension)

Brian


________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Bessel, Karen
Sent: 01 June 2009 15:54
To: [email protected]
Subject: [U2] Dimensioned Array Question
A co-worker has a question about a dimensioned array that is being passed to a 
subroutine.

Program MainLine

DIM MY.ARRAY(20)
Call Sub.Program (MAT MY.ARRAY)


Subroutine Sub.Program (MAT MY.ARRAY)

Is there any command in the subroutine that will tell her what the dimensions 
of MY.ARRAY are????? The correct answer is 20. :)

INMAT was suggested but does not provide this info.

Thanks,

Karen




Karen Bessel
Software Developer

Tyler Technologies, Inc.
6500 International Parkway, Suite 2000
Plano, TX 75093
Phone: 972.713.3770 ext: 6227
Fax: 972.713.3780
Email: [email protected]<mailto:[email protected]>
Web: www.tylertech.com<http://www.tylertech.com/>



[http://news.tyler-tsg.com/images/CTC_sig.jpg]

Tyler is proud to be the Platinum Sponsor of
The Court Technology Conference 2009<http://www.ncsc-ctc.org/websites/_ctc2009>
Sept. 22-24, 2009 | Denver, CO
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to