Initialize Character Use Commands (PLBDBUG)


 

This XSn debugger commands in the allow the PL/B user program to initialize the character user commands which otherwise require a end-user 'shift+function key' action to be saved. These commands have the following syntax format and operations:

Formats:

 

XS {cmd1}; {cmd2}[; ...]

This command clears all of the 'SHIFT+Fn' user commands and sets the new debug commands of {cmd1}... etc. The program stops in the debugger command input window waiting for the next command to be executed.

 

XS? {cmd1}; {cmd2}[; ...]

This command is the same as the 'XS' and the PL/B programs continues to execute after the {cmdn} debugger commands are stored.

 

XSn

This command executes the 'SHIFT+Fn' user command that has been previously stored.

 

XSn {cmd1}; {cmd2}[; ...]

This command stores the {cmd} data into the user command for the 'SHIFT+Fn' function key action. The program stops in the debugger command input window waiting for the next command to be executed.

 

XSn? {cmd1}; {cmd2}[; ...]

This command is the same as the 'XSn' and the PL/B programs continues to execute after the {cmdn} debugger commands are stored.

 

XSC {*|n}

This command is used to clear all 'SHIFT-Fn' user commands when the '*' parameter is used. If the 'n' parameter value of 1 to 10 used specified, then only the 'SHIFT+Fn' user command is cleared.

 

XSL

This command is used to show all of the currently stored 'SHIFT+Fn' user commands stored and available for end-user use.

Examples:

 

DEBUG CMD="XS6 DV S$CMDLIN"

This PL/B instruction stores the debugger command specified as 'DV S$CMDLIN' into the user command table assigned to and invoked by the 'SHIFT+F6' function key end-user action.

 

DEBUG CMD="XS dv s$cmdlin; dv s$error$"

This command clears all of the current 'SHIFT+Fn' user commands and stores the 'SHIFT+F1' and 'SHIFT+F2' user commands which can be invoked an end-user action.

 

DEBUG CMD="XS? dv s$cmdlin; dv s$error$"

This command clears all of the current 'SHIFT+Fn' user commands and stores the 'SHIFT+F1' and 'SHIFT+F2' user commands. The PL/B program continues to execute after the 'SHIFT+F1' and 'SHIFT+F2' user commands are stored.

 

 

See Also: PLBDBUG Commands, PLBDBUG

 



System Utilities Function Keys Insertion Commands