| Directives |
|
| Format | MNEMONIC
[(chan)]mnm_name$=esc_sequ$ Where:
|
|||||||
| Description | Use the MNEMONIC directive to define additional mnemonics for files and/or devices. Once you define a mnemonic for a given logical file number, it stays active until the channel is closed. When ProvideX encounters a user-defined mnemonic in a PRINT or INPUT statement, it converts the mnemonic to the character string in the escape sequence. | |||||||
| *Note* | As of Version 4.20, WindX supports the use of this directive via the [WDX] tag. If you are running an earlier version of ProvideX on a WindX PC, you still need to encapsulate the command in an EXECUTE "[WDX]..." directive. See [WDX] Direct Action to Client Machine. | |||||||
| Under WindX WindX supports the use of this MNEMONIC directive via the [WDX] tag. After opening a channel across a WindX connection, all declared mnemonics (except '*R' and '*X') are sent automatically to the WindX workstation. ProvideX considers the '*R' and '*X' mnemonics to be local to the server unless you use the [WDX] tag in declaring them. ( '*R' declares an operating system command to execute on channel close, and '*X' declares a program to call on channel close.) The following is an example of the EXECUTE command under WindX prior to Version 4.20:
|
||||||||
| See Also | Mnemonics | |||||||
| Examples | To
define and use a mnemonic:
The example below illustrates how the MNEMONIC directive can be used for flexible text fonts on a screen in Windows. Define the font and the logical screen size in a statement. For example, to assign settings for the ProvideX standard mnemonics 'CP' and 'SP':
Then, a subsequent PRINT
'CP' directive will change the screen font to Courier
|
|||||||
| *Note* | The TEXT plane font must always be a fixed font. | |||||||
WindX Examples:
|
||||||||