set,update,prompt-for

TomBascom

Curmudgeon
Are you taking a test?

If so the potential employer isn't a very good one. You should probably avoid working anywhere that would rely on the sorts of questions that you and your colleagues/aliases have been peppering forums with of late.

If you are seriously considering employment in the Progress space you should at least familiarize yourself with the documentation: http://communities.progress.com/pcom/docs/DOC-16074

PROMPT-FOR: http://documentation.progress.com/o...l/wwhelp.htm#href=dvref/16dvref-PR.15.15.html

As the doc says and as you might guess from the name PROMPT-FOR moves input data from the user (keyboard) to the screen buffer. It is a combination of ENABLE, WAIT-FOR and DISABLE.

SET: http://documentation.progress.com/o...ml/wwhelp.htm#href=dvref/17dvref-S.16.09.html

SET is PROMPT-FOR combined with ASSIGN. In addition to moving data from the keyboard to the screen buffer it also moves the data to the record buffer.

UPDATE: http://documentation.progress.com/o...l/wwhelp.htm#href=dvref/18dvref-TZ.17.24.html

UPDATE does a DISPLAY and then does what SET does.

This is all old school, procedural coding. Modern event-driven code doesn't use this stuff.
 
Top