HP3000-L Archives

February 2005, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Smithson <[log in to unmask]>
Reply To:
Peter Smithson <[log in to unmask]>
Date:
Fri, 11 Feb 2005 16:32:53 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
 In article <[log in to unmask]>, [log in to unmask]
says...

> The screen buffer is not read if a function key is pressed, only if enter
> is pressed. If the user pressed a function key, and you want to know the
> contents of the screen buffer, you have to force a read with VGETBUFFER.

Thanks for the replies - I know there isn't much point in running the
VFIELDEDITS when no buffer is present (as they hit a function key).

I'm trying to figure out how some customers code is working.  In the
code sample I gave, you can see that there is no conditinal execution of
code.  I think they do this is it's a generic library of calls but I
wrote a simple example program showing the behaviour.

Without the VSETERROR and without setting numerrs, I get an error from
VREADFIELDS (due to the required fields) whether I hit a function key or
enter.

With the VSETERROR and setting numerrs, I only get an error from
VREADFIELDS if enter is pressed.

Anyone know why?

Cheers

Peter

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2