ue.a0ba

User Exit/BASIC Program, Releases: AP and R83

Sets IBM function keys on AP/Native and AP/DOS systems.

Syntax

result = oconv(tbl.type : vm : keyboard.data, 'ua0ba')

Description

similar to the 'u80ba' user exit, and sets the IBM function keys on AP/Native and AP/DOS systems only.

The valid values for 'tbl.type' are:


0 upper case
1 lower case
2 control
3 alternate


'keyboard.data' is a string of ASCII-hex values which relate to the hex value of the function keys for the particular type being updated.

The user exit works the same if it is called using an 'iconv' or 'oconv'.

Example

x = iconv('0':char(253):'FF45','ua0ba')

In this example, we set the function key shift+F1 to a hex value of 45, the
letter E. Note the FF is a place holder.

x = oconv('2':char(253):'FF454144494C','ua0ba')

In example 2, we set the normalized (not shifted) function keys F1-F5 to E, A,
D, I and L respectively.

See Also

Command Name Type Description
tcl.set-kbrd Verb: Access Defines keyboard type for port 0.
tcl.set-func Verb: Access Assigns function keys on port 0.
ue.80ba User Exit Sets IBM keyboard on AP/Native and AP/DOS systems.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.