# MX\_SETPFK, MX\_GETPFK

> [HTML Version](mx_set_get_pfk.htm)

**xcall MIAMEX, MX\_SETPFK, pfkspec \{,status)**

**xcall MIAMEX, MX\_GETPFK, pfkspec**

MX\_SETPFK (MIAMEX 63) loads a private (PFK-style) function key translation module into memory. MX\_GETPFK (MIAMEX 65) returns the name of the currently loaded PFK translation file, if any.

**Parameters**

_pfkspec_  ([Num](num.md))  \[in for SET, out for GET\]

contains the file specification of a translation table created by FIXTRN which has a PFK extension (e.g. mydir:abcde.pfk).

_status_  ([Num](num.md))  \[out\]

will be set to 0 on success, or 1 if the file was not found

**Comments**

Unlike the IFX and VUX translation tables, which are named after the terminal driver and loaded by default, a PFK-style translation table may have any name (with a PFK extension). When loaded, such a translation table will override any existing translations in the IFX file. Thus, they are handy for loading translations that are specific to a particular program or perhaps even a particular user. 

Use FIXTRN <name>.pfk to create a PFK style translation table. You can also use LOAD <name>.PFK to load it into memory, and DEL to delete it. To delete it within a program, use [MX\_USRDEL](mx_usrdel.md).