PROGRAM

The PROGRAM attribute can specify an external application program to work with screen fields of data type TEXT or BYTE.

4GLREF00000048.gif

command is a command string (or the name of a shell script) that invokes an editing program, enclosed within quotes.

field-tag is the field tag that you declared in the SCREEN section.

You can assign the PROGRAM attribute to a BYTE or TEXT field to call an external program to work with the TEXT or BYTE values. Users of the application invoke the external program by pressing the exclamation ( ! ) point key while the screen cursor is in a blob field. The external program then takes over control of the screen. When the user exits from the external program, the form is redisplayed, with any display attributes besides PROGRAM in effect.

Related Attributes

AUTONEXT
FORMAT
REVERSE
COLOR
INCLUDE
UPSHIFT
COMMENTS
INVISIBLE
VALIDATE LIKE
DEFAULT
NOENTRY
VERIFY
DISPLAY LIKE
PICTURE
WORDWRAP
DOWNSHIFT
REQUIRED