At 03:20 PM 14/09/2004 +1000, you wrote:
Goo'day, all

UV 9.6.1 on NT

We have a client for whom we have an existing subroutine (in the case below, known as "FIRST.SUB") that calculates Minimum and Maximum product stock holdings, depending on the season - Winter and Summer. It's a long and involuted/convoluted program that analyses a product's sales for each month for the past 3 or 4 years and finally arrives at the 4 required figures for recommended stock holding and has been used successfully within other programs for years......Admittedly, the calling programs only look at one product at a time...

< SNIP> <SNIP>

Are we expecting too much of an I-Type or is there another problem?? Is there a possibility we're doing something naughty in FIRST.SUB? There're no PRINTER, PRINT or similar statements. There's no other subroutine called from within .... Actually, nothing we can see that's cause this problem....

Greetings,

Are you doing any cursor positioning in the subroutines?

If the subs are doing anything like that (even a CRT @(0,0) Hint : check any include code :-0 ) then UV assumes that you know more than it does and doesn't bother with the paging at the query level.

I have heard it described in a much more technical and elegant manner before but sorry my brain is fried at the moment and you get the gist of the issue.

Let me know if it isn't this and Ill make my brain work harder :)

Cheers,

        .....Darren.....
=================================================
"If a maintenance programmer can't quote entire Monty Python
movies from memory, he or she has no business
 being a programmer." - From How to write Unmaintainable Code
=================================================
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to