RE: universe 10.???? - array size

2004-04-02 Thread Glenn W. Paschal
If you want to know from the debugger... Example:
ED BP TEST
4 lines long.

: P
0001: DIM X(10,15)
0002: MAT X = 
0003: DEBUG
0004: PRINT
Bottom at line 4.
: Q
RUN BP TEST
 TEST:   4: PRINT
:: X/
MATRIX: X=10 Y=15
::

If you are trying to get the size of the array within the program, use
INMAT()...  Example:
ED BP TEST
5 lines long.

: P
0001: DIM X(10,15)
0002: MAT X = 
0003: PRINT
0004: PRINT INMAT(X)
0005: PRINT
Bottom at line 5.
: FI
TEST filed in file BP.
RUN BP TEST

10ý15

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Olson
Sent: Friday, April 02, 2004 11:14 AM
To: U2-Users (E-mail)
Subject: universe 10. - array size


the array will contain file handles...
 
Thanks, 
Pete 
 


Notice of Confidentiality:  The information included and/or attached in this
electronic mail transmission may contain confidential or privileged
information and is intended for the addressee.  Any unauthorized disclosure,
reproduction, distribution or the taking of action in reliance on the
contents of the information is prohibited.  If you believe that you have
received the message in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it. 

-- 
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users




--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: universe 10.???? - array size

2004-04-02 Thread Peter Olson
thanks!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Glenn W. Paschal
Sent: Friday, April 02, 2004 12:40 PM
To: 'U2 Users Discussion List'
Subject: RE: universe 10. - array size


If you want to know from the debugger... Example:
ED BP TEST
4 lines long.

: P
0001: DIM X(10,15)
0002: MAT X = 
0003: DEBUG
0004: PRINT
Bottom at line 4.
: Q
RUN BP TEST
 TEST:   4: PRINT
:: X/
MATRIX: X=10 Y=15
::

If you are trying to get the size of the array within the program, use
INMAT()...  Example:
ED BP TEST
5 lines long.

: P
0001: DIM X(10,15)
0002: MAT X = 
0003: PRINT
0004: PRINT INMAT(X)
0005: PRINT
Bottom at line 5.
: FI
TEST filed in file BP.
RUN BP TEST

10ý15

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Olson
Sent: Friday, April 02, 2004 11:14 AM
To: U2-Users (E-mail)
Subject: universe 10. - array size


the array will contain file handles...
 
Thanks, 
Pete 
 


Notice of Confidentiality:  The information included and/or attached in this
electronic mail transmission may contain confidential or privileged
information and is intended for the addressee.  Any unauthorized disclosure,
reproduction, distribution or the taking of action in reliance on the
contents of the information is prohibited.  If you believe that you have
received the message in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it. 

-- 
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users




-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Notice of Confidentiality:  The information included and/or attached in this
electronic mail transmission may contain confidential or privileged
information and is intended for the addressee.  Any unauthorized disclosure,
reproduction, distribution or the taking of action in reliance on the
contents of the information is prohibited.  If you believe that you have
received the message in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it. 

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: universe 10.???? - array size

2004-04-02 Thread Grant.Boice
Pete,

In UniBasic, there is a function call INMAT.  If memory serves me right, I believe 
UniVerse has the same function.

You might want to check it out.

Grant W. Boice, Jr.
Systems Administrator
Benchmark Electronics, Inc.
Manassas Division
8500 Phoenix Drive
Manassas, VA  20110
 

-Original Message-
From: Peter Olson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 12:09 PM
To: U2-Users (E-mail)
Subject: universe 10. - array size


is there a native function that will tell me the size of a dimensioned array
? 
if not are there any suggestions for something graceful ?

Thanks, 
Pete 

 


Notice of Confidentiality:  The information included and/or attached in this
electronic mail transmission may contain confidential or privileged
information and is intended for the addressee.  Any unauthorized disclosure,
reproduction, distribution or the taking of action in reliance on the
contents of the information is prohibited.  If you believe that you have
received the message in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it. 

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users