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. J 

 

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]

Web:  <http://www.tylertech.com/> www.tylertech.com

 



 CTC 2009 Logo <http://news.tyler-tsg.com/images/CTC_sig.jpg> 

Tyler is proud to be the Platinum Sponsor of 
The Court Technology  <http://www.ncsc-ctc.org/websites/_ctc2009> Conference
2009
Sept. 22-24, 2009 | Denver, CO

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

Reply via email to