}From: bochner@das.harvard.edu (Harry Bochner)
}Subject: Re: RETURN within REPORT (was: Do you need a "on every row")
}Date: Wed, 13 Oct 1993 21:28:47 GMT
}X-Informix-List-Id: <news.4594>
}
}In article <29f99fINNldh@emory.mathcs.emory.edu>,
}johnl@informix.com (Jonathan Leffler) writes:
}|> Second, the local variables in a report are static variables, not
}|> automatic like they are in any other function.
}
}Is this documented anywhere? I can't find it in a quick look through the
}4gl Reference, or User's guide.
}
}I've spent a lot of time "correcting" code that assumed report variables
}were static, and I've recommended this to others, too. It would be
}interesting to learn that I've been wrong all these years ...
I don't know about documentation; I couldn't see any reference to this
during a cursory look through Chapter 5 of the I4GL Reference Manual
(Vol 1). I can tell you from looking at the C code produced, and from
the observation that RDS works sufficiently the same as compiled 4GL,
that they are in fact static.
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>