PROTECTED]
Subject: RE: [U2] getting undefined errors when varible look defined
(UV/unix)
Hi George
The dimensioned array probably has unassigned values in it.
You can do a MAT statement to assign values to an array
Ie MAT TOTALS =
MAT DADVTOT =
MAT TOTALS =
---
u2-users mailing list
] getting undefined errors when varible look defined
(UV/unix)
Will that fill a multidimensional array as well? or just
a single dimensional array. I was going to try that next
but wasn't sure.
George
Frie Funktionfrer - faglig organisation og tvfrfaglig a-kasse - www.f-f.dk
the job just
as much.
George
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Claus Derlien
Sent: Tuesday, December 21, 2004 10:02 AM
To: [EMAIL PROTECTED]
Subject: SV: [U2] getting undefined errors when varible look defined
(UV/unix)
MAT SOME.VAR
errors when varible look defined (UV/unix)
Here is a snippit of code:
ITOT= ; TOTAMT= ; DTOT= ; DTOTAMT=
*
ITOT=ADVTOT(JPOS3,T)
TOTAMT=TOTALS(JPOS3,T)
DTOT=DADVTOT(JPOS3,T)
DTOTAMT=DTOTALS(JPOS3,T)
*
ITOTTT+OFFSET=ITOTTT+OFFSET+IVAL
TOTAMTTT+OFFSET
Are you MAT clearing your totals before filling them?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
Sent: Monday, December 20, 2004 3:20 PM
To: Ardent List
Subject: [U2] getting undefined errors when varible look defined
(UV/unix)
Here
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lee Bacall
Sent: Monday, December 20, 2004 5:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2] getting undefined errors when varible look defined
(UV/unix)
George,
Variable DTOTAMT previously
undefined. Empty string used.
Was DTOTALS
: Tuesday, 21 December 2004 9:20 AM
To: Ardent List
Subject: [U2] getting undefined errors when varible look defined (UV/unix)
Here is a snippit of code:
ITOT= ; TOTAMT= ; DTOT= ; DTOTAMT=
*
ITOT=ADVTOT(JPOS3,T)
TOTAMT=TOTALS(JPOS3,T)
DTOT=DADVTOT(JPOS3,T
PROTECTED] On Behalf Of George Gallen
Sent: Monday, December 20, 2004 2:20 PM
To: Ardent List
Subject: [U2] getting undefined errors when varible look defined (UV/unix)
Here is a snippit of code:
ITOT= ; TOTAMT= ; DTOT= ; DTOTAMT=
*
ITOT=ADVTOT(JPOS3,T)
TOTAMT=TOTALS
PROTECTED]
Subject: RE: [U2] getting undefined errors when varible look defined
(UV/unix)
DTOTALS is a two dimensional array, which has been dimensioned,
however, not all the slots have been filled.
DIM TOTALS(MAXNOIR,MAXADV)
DIM ADVTOT(MAXNOIR,MAXADV)
DIM PRJTOT(MAXNOIR,MAXADV)
DIM
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lee Bacall
Sent: Monday, December 20, 2004 5:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2] getting undefined errors when varible look defined
(UV/unix)
George,
Variable DTOTAMT previously
undefined. Empty
PROTECTED]
Subject: RE: [U2] getting undefined errors when varible look defined
(UV/unix)
DTOTALS is a two dimensional array, which has been dimensioned,
however, not all the slots have been filled.
DIM TOTALS(MAXNOIR,MAXADV)
DIM ADVTOT(MAXNOIR,MAXADV)
DIM PRJTOT(MAXNOIR,MAXADV)
DIM
Everybody answered about clearing arrays etc but no-one (that I can see)
said what the $Rnnn variable is.
:
: What is $R196?
:
It is a temporary variable that the compiler uses for intermediate results.
e.g.
EX=123+234+345
The compiler breaks this down to:-
add 123 and 234 into variable
Everybody answered about clearing arrays etc but no-one (that I can see)
said what the $Rnnn variable is.
:
: What is $R196?
:
It is a temporary variable that the compiler uses for intermediate results.
e.g.
EX=123+234+345
The compiler breaks this down to:-
add 123 and 234 into variable
13 matches
Mail list logo