Goo'day, Barry

AFAIK, @RECORD is the data of the record being processed by an I-type function.

Therefore you don't have to OPEN the file, or READ the @RECORD, eg:

DICT FNAME COST
0001 I
0002 @RECORD<3> * @RECORD<5>
0003 MR2...... etc, etc

or

DICT FNAME ANOTHER.COST
0001 I
0002 SUBR("MY.SUB",@RECORD)
0003 MR2...... etc etc

where MY.SUB starts ofF:

0001 SUBROUTINE MY.SUB(X,REC)
0002  X = ''
0003  CNT = DCOUNT(REC<3>,@VM)
0004  FOR I = 1 TO CNT
0005     X += REC<3,I> * REC<5,I>
0006  NEXT I
0007  RETURN

At 18:16 13/06/05 -0700, you wrote:

UV 9.6.1.3 on W2K.

What's the right way to use @RECORD? I can do-

<Snip>

No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.0 - Release Date: 13/06/05

Regards,

Bruce Nichol
Talon Computer Services
ALBURY        NSW     2640
Australia

http://www.taloncs.com.au

Tel: +61 (0)411149636
Fax: +61 (0)260232119

If it ain't broke, fix it till it is!

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.0 - Release Date: 13/06/05
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to