Is the question "why"?  If so, it's because the field function takes
three parameters.  The incorrect one has only one parameter in the
field(..) function. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karl L
Pearson
Sent: Monday, August 02, 2004 3:53 PM
To: u2-users
Subject: [U2] (UV} Syntax Error Results

Platform: AIX 4.3.3, UV 10.0.14, Flavor: INFORMATION.

Error message when compiling, but WHY!?!??

VNM = trim(field(RTVREC<8>),':',2)   <=- Incorrect, obvious I hope
VNM = trim(field(RTVREC<8>,':',2))   <=- Correct

When I compiled the first, I got the error:
WARNING: Text found after final END statement.

This isn't 'C' but I'm thinking the compiler is written in 'C' so...
Yeah, right.

--
Karl L. Pearson
Director of IT,
ATS Industrial Supply
Direct: 801-978-4429
Toll-free: 888-972-3182 x29
Fax: 801-972-3888
http://www.atsindustrial.com
[EMAIL PROTECTED]
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to