up.x

Command/Update Processor, Releases: AP

Exits item or calls subroutines.

Syntax

<ctrl>+x

Description

the beginning of the command sequence used to exit items or invoke 'hotkeys'.

Items can be exited from UP with or without filing.

'<ctrl>+xnumber' (control<x> + a number between '0' and '9') invokes the corresponding 'hotkey' command, which calls a Pick/BASIC subroutine. See 'hotkeys'.

A list of all UP exit commands follows:

<ctrl>+xb

If the current update session is using an 'active list', this command exits the current item and returns to the previous item in the list.

If there is no previous item, the terminal beeps and remains in the current item.

<ctrl>+xc

Used when updating Pick/BASIC programs, this command files, compiles and catalogs the program.

<ctrl>+xe

This command exits an item without filing any changes. This is used when viewing an item without making any changes.

If changes were made during an update session and '<ctrl>+xe' is used to exit the item, the terminal prompts with:

item has changed, press 'y' to exit or 'f' to file:

<ctrl>+xf

This command files an item and then exits the item. Any changes that were made during the current update session are saved and the previous copy of the item (if present) is overwritten.

Items can be filed automatically using the 'data-entry' connective. See 'data-entry'.

<ctrl>+xi

This command allows the item being updated to be renamed as it is filed, and optionally deletes the original item.

After entering this command, the terminal prompts with:

Rename item; new{(filename} item-id:

After the item-id and optional filename is entered, the terminal prompts with:

delete current item (y/<cr>=n)?

To delete the current item, answer 'y'. 'n' or <return> leaves the current item on file and no changes are saved from the current update session.

<ctrl>+xk

If the current update session is using an 'active list', this command exits the current item and returns to the calling process. The 'active list' is abandoned.

<ctrl>+xl

This command files and compiles a Pick/BASIC program.

<ctrl>+xn

This command exits or files the current item and creates a new null item.

If the item has been changed since being entered, the following message appears:

'item has changed, press 'y' to exit or 'f' to file'

The new item can be assigned an item-id by either the 'id' processing code, or by filing the item with the '<ctrl>+xi' command.

If neither of these methods of assigning an item-id are used, the system assigns the item-id based on the current date concatenated with a system-wide sequence number.

<ctrl>+xo

This command deletes the item being updated.

If any changes were made to the item during the update session, the terminal prompts with:

item changed, delete it (y/n=cr)?.

See 'recover-item'.

<ctrl>+xp

This command files the current item and prints the item to the currently assigned form queue, in Output processor (OP) format.

<ctrl>+xr

This command files (and compiles, if the item is a Pick/BASIC program) and executes the item being updated.

This command can be used to run macros, PROCs, menus, and Pick/BASIC programs.

<ctrl>+xs

This command files the current item and remains in the item.

<ctrl>+xx

This command exits the item without filing any changes. This is equivalent to the '<ctrl>+xe' command.

See Also

Command Name Type Description
active.list Definition A list of strings delimited by attribute marks created by one of the list-generating processes.
tcl.recover-item Verb: Access Recovers last item deleted by the Update processor.
pc.id Processing Code Assigns item-id in Update processor.
TCL.DELETE Verb: Access Deletes item(s) from file.
tcl.xonoff Verb: Access Toggles xon/xoff or data set ready.
up.xb Command Exits item and returns to previous item in a list.
up.xc Command Files, compiles and catalogs Pick/BASIC source item.
up.xe Command Exits item without saving changes.
up.xf Command Files item with any changes made.
up.xi Command Files item under new item-id; optionally deletes original.
up.xk Command Exits item without saving changes; kills active list, returning to calling process.
up.xl Command Files and compiles Pick/BASIC source item.
up.xn Command Files or exits item and starts a 'new' item.
up.xo Command Deletes the current item.
up.xp Command Files item and prints through Output processor.
up.xr Command Files, compiles and runs item.
up.xs Command Files and remains within item with any changes made.
up.xx Command Exits item without saving changes.
up.options.c Option Clears screen between each item.
up.data-entry Modifier Automatically files at end of item and enters new item.

User Comments

What do you think?

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

Login to leave your comments.