TK-Calc Reference

table of contents

(main)

This chapter provides detailed summaries of all of the TK-CALC commands, functions and other topics. The chapter is divided into two parts in the following order:
Section I ~ TK-CALC Commands
Section II ~ TK-CALC Operations
The topics within each area are alphabetically organized so that you can find them quickly.

The command section provides a listing and general operation of each of the TK-CALC commands. Options within a particular command are listed with the command in the order that they appear on the prompt line.

The Operations section provides information regarding the operations that can be used during an edit session.



BLANK Command
Purpose: The Blank command erases the number or label at the current pointer location.
Type of Operation: Command
Keystroke(s) Required: B and Y to confirm
How Is It Used: The Blank command is used to remove an item from the spreadsheet and leave the cell blank. If the cell had been previously assigned a format, the format will be deleted and it will revert back to the default format.

Because the Blank command will remove the data permanently from the spreadsheet, the user must enter a "Y" confirming that the data is to be indeed removed.



COPY Command
Purpose: The Copy command is used to copy one or more cells into another part of the sheet.
Type of Operation: Command
Keystroke(s) Required: /C + the source and target ranges
How Is It Used: The Copy command provides 4 types of copying:
one cell to another cell
one cell to a range of cells
a range of cells to an equal size range
a range of cells to a larger range

Each copy operation requires 5 steps:

1. Issue the Copy command: /C
2. Enter the starting address of the source.
3. Enter the stopping address of the source.
4. Enter the starting address of the target.
5. Enter the stopping address of the target.
The starting and stopping point is called the range. You may enter the range by typing the cell addresses or you may move the pointer on the screen to point to the correct cell. Press "RETURN" and then you will be asked for the stopping address. Once again, you can enter it or point to it.

If you are copying only one cell, then the starting and stopping addresses will be the same.

Example:

Source A1 to A1
Target D1 to D1
If you are copying a row or a column, then you must make sure that the starting and stopping addresses are in the same row or column. If not, a diagonal range error message will be displayed and you will need to reenter the range.

Example:

Source A1 to C6 is an error
If the target is the same size as the source, you are not required to enter the stopping address. Just press RETURN and it will be calculated from the length of the source.

Example:

Source A1 to A6
Target D1 to (press RETURN and the compute will calculate D6)
If the target range is larger or smaller than the source, the smaller of the two will be used.

Example:

Source A1 to A6
Target D1 to D4
In the example shown above, only four cells will be copied since the target is only four cells long.

If the target range is in a different direction than the source, then a rectangle block will be created with multiple sources.

Example:

Source A1 to E1
Target A4 to A7
In this example the five cells, A1 through E1, will be copied four times, first in row 4 columns A through E, then in row 5 columns A through E, and so on down to row 7.

The Copy command copies values, formats and formulas. If the formulas contain relative addresses, then the addresses will be modified automatically to reflect the target area. Absolute addresses will not be changed.

You may cancel the copy command by pressing the RETURN key without entering an address in either of the source entries and the first entry of the target. If you enter an address, and then decide to cancel, delete the address with the delete key and then press RETURN.



DELETE Command
Purpose: The delete command removes an entire row or column from the spreadsheet.
Type of Operation:Command
Keystroke(s) Required: /D + R or C
How Is It Used: The Delete command is used to remove rows or columns that are no longer needed in the spreadsheet area. The following row or columns will be moved in to fill the gap and all formulas will be adjusted to reflect the change in addresses.


NOTE: Once the data is deleted it cannot be restored without reentering it in by hand. Also, any formulas that referenced the deleted row or column will be in error.

Move the pointer to the Row or Column that you want to delete and issue the /D command. Enter a R to delete the row, a C to delete the column. Press a RETURN only to cancel the command.



EDIT Command
Purpose: The Edit command allows previously entered data to be edited.
Type of Operation:Command
Keystroke(s) Required:/E
How Is It Used: The Edit command takes the number or label that is found at the pointer location and displays it on the Edit line (line three). If the cell contains a formula, the formula will be displayed and may be edited.

The data is edited with the aid of the editing keys including the four cursor keys, insert and delete character keys and the regular keyboard text. Characters entered will replace the characters overwritten. Press RETURN when the edited data is to be restored in the cell.



FORMAT Command
Purpose:The Format command modifies the display characteristics of individual cells in the sheet.
Type of Operation:Command
Keystroke(s) Required: /F + $, D, F, I, L, R or T
How Is It Used: Without changing the actual cell contents, the Format command allows the cell entry to be displayed or printed in a different format, such as left or right justified, leading dollar signs, or a fixed number of places to the right of the decimal point.

The options available under the format command are:

$ A currency format with a dollar sign immediately preceding the number. Negative values are displayed with parentheses. The number of places to the right of the decimal point is selectable by the user.
Default Restores format to the default setting, numbers are right-justified and labels are left justified.
Fixed Displays numbers with a fixed number of places to the right of the decimal point. The number is selectable between 0 and 9. If the cell entry contains more digits to the right than is displayed, the number will be rounded to the specified number of digits.
Integer Displays all numbers rounded to the nearest whole number.
Left Displays the cell entry left justified within the cell. This is the default format for labels.
Right Displays the cell entry right-justified within the cell. This is the default format for numbers.
Title Allows the cell contents to spill over into the adjacent cells to the right. This format is used with labels where the label is wider than the column width.



GLOBAL Command
Purpose: Allows the column widths and format settings to be overrided for the entire sheet.
Type of Operation:Command
Keystroke(s) Required:/G + G, D, or F
How Is It Used: The Global command is used to effect changes to the column widths or data formats for the entire sheet. It overrides previous settings to these parameters so that they may be displayed or printed in a different format. Issuing the Default option of the Global command then reverses this action and returns the formats to their original state.

Selecting the Column Width option allows you to select one standard column width that will be used with the entire sheet. This is particularly useful to compress the size of the sheet down to fit more columns on a single display or printed page. The column widths will remain at the selected width until either readjusted with the Length command or another Global Column Width command. The Global Default command will return the column widths to their original widths.

The Global Formats command allows you to assign a format setting to all entries in the sheet. You may choose to override all entries or only the entries that were not previously set with the Format command. See the Format command for a listing of the various formats that you can set.



GOTO Command
Purpose: The GOTO command lets you jump the pointer quickly from one location to another.
Type of Operation:Command
Keystroke(s) Required:Tab Key Coordinate
How Is It Used: To move the pointer to a new entry position (cell), press the TAB key followed by the coordinates of the entry position to which you want to jump and then press RETURN.

Example:

1) Press TAB
2) Enter in AE12
3) Press RETURN
The pointer will be moved to column AE, row 12.


INSERT Command
Purpose: The Insert command opens up additional rows or columns in the spreadsheet.
Type of Operation:Command
Keystroke(s) Required:/I + R or C
How Is It Used: The Insert command requires that the pointer be positioned on the row or column where the blank row or column is to be inserted. You are asked to enter a "R" for a row or "C" for column.

If you enter a "R", all of the rows from the pointer position on down will be moved one row down and a blank row will be inserted where the pointer is. If you enter a "C", all of the columns from the pointer to the right will be moved to the right and a blank column will be inserted where the pointer is.

Formulas that reference any of the columns or rows that were moved during the insert will be adjusted to reflect the new addresses. This is true whether the formulas use absolute or relative addressing.

Note that TK-CALC will not allow you to insert a column if the 255th column or column IU has been occupied, nor will it allow you insert a row if row 999 is occupied.



LENGTH Command
Purpose: Allows the width of an individual column to be set to a length between 1 and 50.
Type of Operation:Command
Keystroke(s) Required: /L + new length.

Move your pointer to the column that is to be changed. Enter the Length command "/L" followed by the new length. The column will be expanded or contracted as needed to the new size.

Use the Global Column Length command if you want to adjust all columns on the sheet at once.



MOVE
Purpose: The Move command allows you to move one or more entries from one place to another on the sheet.
Type of Operation:Command
Keystroke(s) Required:/M + FROM range and TO range
How Is It Used: The Move command is similiar in some ways to the Copy command. You need to specify a FROM range that indicates what is to be moved, and you need to specify a TO range which will indicate where it is to be put. But unlike the Copy command, the Move command will allow you to move blocks of cells from more than one row or column. Also, in the Move command the FROM and TO ranges are the same size.

As in the Copy command you can point to the locations rather than enter their coordinates. Each Move operation requires 4 steps:

1. Issue the Move command: /M
2. Enter the first address of the FROM range.
3. Enter the last address of the FROM range.
4. Enter the first address of the TO range.
Since the TO range has to be the same size as the FROM range, the computer will calculate the last address of the TO range for you.

The starting and stopping point is called a range. You may enter the range by typing the cell addresses or you may move the pointer on the screen to point to the correct cell. Press "RETURN" and then you will be asked for the stopping address. Once again, you can enter it or point to it.

If you are moving only one cell, then the starting and stopping addresses will be the same.

Example:

FROM: C3 to C3
TO: D1 to D1
If you are moving a row or a column, then the the starting and stopping addresses will be the same.

Example:

FROM: A1 to A11 moves a column
FROM: D3 to G3 moves a row
If you are moving a block (rectangular shape area), then you enter the top left coordinate of the block as the start of the FROM range and you enter the bottom right coordinate as the end of the FROM range.

Example:

FROM: A1 to D6
(specifies a block of entries from columns a thru D and rows 1 to 6)
The Move command copies values, formats and formulas. If the formulas contain relative addresses, then the addresses will be modified automatically to reflect the new area. Absolute addresses will not be changed.

You may cancel the Move command by pressing the "RETURN" key without entering an address in either of the FROM entries and the first entry of the TO range. If you enter an address, and then decide to cancel, delete the address with the delete key and then press "RETURN".


NOTE: As in the Copy command, entries moved into cells that already have data will cause the original contents and formats to be overwritten and the data will be lost. Care should be taken to specify the correct FROM and TO ranges.


PRINT Command
Purpose: Allows you to print a copy of the current spreadsheet on a hardcopy device.
Type of Operation:Command
Keystroke(s) Required: /P + print parameters
How Is It Used: The Print command provides you with a quick jump to the Print Option of the TK-CALC menu when you want to print all or a portion of the spreadsheet that you are currently editing.

See the Print Option under the TK-CALC Menu Options for a detailed listing of the input requirements for this command. Since you can only print this one sheet with this command, you will not have to select the spreadsheet to be printed.



QUIT Command
Purpose: Allows you to exit the edit mode of TK-CALC and returns you to the TK-CALC menu.
Type of Operation:Command
Keystroke(s) Required:/Q
How Is It Used: This is the exit command. When you are finished editing and/or viewing the contents of the spreadsheet, use this command to return to the main menu. The date will be posted in the spreadsheet directory to indicate when you last edited or viewed that particular sheet.


REPEAT Command
Purpose: Provides a means for creating underlines, and horizontal borders on the sheet.
Type of Operation:Command
Keystroke(s) Required: /R + repeated character
How Is It Used: Use the Repeat command to fill a cell with a character such as '-' or '='. This will result in a line of '-------' or '=======' that will expand and contract to fill the column width. For that matter you can create a line of any printable character such as '........' or '++++++++'.

First move the pointer to the cell that you want the repeat character to fill. Enter the repeat character following the "/R" command and the cell will be filled with that character. To create a row of this repeated character, you can copy the first cell accross the row with the Copy command.



WINDOW Command
Purpose: Allows you to create two displays of the spreadsheet on the screen at once.
Type of Operation:Command
Keystroke(s) Required: /W + H, V or S
How Is It Used: The Window command splits the screen in either a horizontal or vertical direction to create two windows that you can view the spreadsheet through simultaneously. Thus, you can compare rows or columns that are too far apart on the normal single window sheet. Once the sheet is split, you can scroll each window independently of the other.

To split the screen into two windows, first move your pointer to the row or column where you desire the split to take place. Generally this would be somewhere close to the center of the sheet so that each window will be the same size. Activate the Window command with a "/W" and enter either a "H" for a horizontal split or a "V" for a vertical split.

Once the screen is split, you can jump from the one screen to the other by pressing the ";" (semicolon) key. In order to revert back to the single window screen, enter the window command again, "/W", followed by the letter S for single screen.


NOTE: TK-CALC will not permit the screen to be split horizontally on the first or last row, or vertically on the first or last column. There must be a window that is at least one row or column in size.


ADDRESSING
Purpose: Provides a means for the user to define rows, columns, and cells.
Type of Operation: General Operations
Keystroke(s) Required: Upper Case Alpha + 1-999, $, and "r"
How Is It Used: Column addressing is an uppercase letter or letters starting from the first column on the left as column A and proceding to the right for 255 columns to column IU. The pattern is A-Z, AA-AZ, BA-BZ and so on.

Row addressing is a one to three digit number starting with row 1 at the top of the sheet to row 999 at the bottom.

Cell addressing in TK-CALC allows you to identify a single cell location by giving the column and row coordinates. The cell addressed resides on the intersection of the column and row. The column is always listed first, then followed by the row number, such as A1, G45, or CA12.

Cell addressing in formulas may be listed in a number of different ways:

1. By dropping the row number, the row of the formula is assumed, such as A, C, EE, or GA

2. By using the letter r (lower case R) in place of the column letters will make the column of the formula to be assumed, such as r12, r3 or r345.

3. By inserting a $ in front of the column letters or the row numbers, or both, will cause the row or columns to be absolute values that are not changed by copying, moving or shift the cell contents. $A$5 is an example of this type of addressing called Absolute addressing. Cell references without the $ are called Relative addresses and will change if moved to another part in the spreadsheet.



FORMATS
Purpose: The various formats in TK-CALC alter the visual representation of the data.
Type of Operation: General Operations
Keystroke(s) Required: Global Format or Format commands
How Is It Used: The various formats available in TK-CALC include the following:

$Dollar sign + decimal
DefaultThe standard format
FixedFixed decimal point
IntegerNumber rounded to whole value
LeftData Left-justified
RightData Right-justified
TitleText may extend to right of cell boundary



FORMULAS
Purpose: Formulas define the relationship between data elements in the spreadsheet.
Type of Operation: General Operations
Keystroke(s) Required: Addresses, Ranges, ()+-*\/#@, numbers
How Is It Used: Formulas are mathematical relationships between the individual cells of the spreadsheet and are considered numeric values and yield a numeric result.

Formulas may be of any length up to 50 characters. They must obey the rules of numeric values which means that they must begin with one of the following characters:

+ - 0 1 2 3 4 5 6 7 8 9 ( @ .
It is usually best to start all formulas with a + sign, since you then will always be sure that the input is numeric and not a label.

A formula consists of one or more values separated by operators. The values may be numbers (a constant), cell addresses, and/or functions. The operators are simple mathematical operators and are listed below:

+ Positive (when it is first)
- Negative (when it is first)
+ Addition
- Subtraction
* Multiplication
/ Division
\ Integer Division (no fraction)
# Modulo (remainder of division)
Two methods may be used to indicate cells addresses in the formulas: entering them or pointing to them with the cursor. Both accomplish the same thing and you can use whichever technique you prefer. In order to use the pointing method, you would use the cursor keys at the point in the formula where the cell address would normally be entered.

If, for example, you want to enter the formula +B3/D1 , you would first enter the +, then use the cursor keys to move the pointer to cell B3. You will see that the computer fills in the cell addresses as you move around. Once you are on B3, then press the next operator /, to freeze the B3 in the formula and allow you to continue on to the D1. Move the cursor to D1 and press RETURN to end the formula.

It is important for you to remember that the operators are executed in strictly left to right order. You must use the parenthesis to override this order. For example, note how the parenthesis change the results in the following two formulas:

+B2*D1+D2 result: 46

+B2*(D1+D2) result: 100

...where B2=10, D1=4, and D2=6. The parentheses in the second formula allow the D1 and D2 to be added together first before the multiplication.

Formulas that exceed the 50 character limit will have to be split up into one more intermediate calculations.