On Thu, Mar 27, 2008 at 2:35 PM, Glenn Knickerbocker <[EMAIL PROTECTED]> wrote:

>  My problem at the beginning of the file isn't an error in SPECS, though.
>  It's that I want output only when there are records at both reading
>  stations, but I can only see one station at a time.  I guess my question
>  is:  Or can I?

When you name the fields, you can see both at the same time (as the
discussion about delta() revealed:
'callpipe (end \)',
 '\ *:',
 '| spec a: 1.8 . select second b: 1.8 .',
        'if first()||eof() then noprint',
        'else print (c2d(a)-c2d(b))/4096000 pic ---------9 1',
        'endif',
 '| *:',

I can not use "eof noprint" because spec would still want to form the
output record in the run-out cycle even though it is not written to
the output later...

--
Rob van der Heij
Velocity Software GmbH
http://velocitysoftware.com/

Reply via email to