I'm attempting to use READU in the following fashion, but the code won't
compile. However, all is well and runs well when I replace File.Vars<I>
with f.var1 - in the READU statement.
ERROR.RET = ""
ERROR.MSG = ""
f.var1 = ""
CALL OPEN.FILE(f.var1,"actual file name",ERROR.RET,ERROR.MSG)
File.Vars<1> = f.var1
File.Vars<2> = f.var2
FOR I = 1 TO I.END
READU R.record FROM File.Vars<I>,rec.ID THEN
...load attribute vars
END
NEXT I
The compiler returns this message:
main program: syntax error at or before
<line xxx> READU R.record FROM File.Vars<I>,rec.ID THEN
--------------------------------^
Expecting: ELSE
Suggestions are most welcome.
************************************************
* Shawn Waldie San Juan College *
* Programmer/Analyst 4601 College Blvd *
* Phone: (505)566-3072 Farmington, NM 87402 *
* email: [EMAIL PROTECTED] *
* *
* HP-UX 11.11 UniData 6.0.4 Colleague R17 *
************************************************
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/