Start of README v1.1
This describes the purpose and components of MC101 and how to download, install, and use the MC101 program.
|
MC101 is a calculator program for AS400/ ISERIES. It emulates a multi-function and multi-memory calculator. |
| A number or command is keyed on a line and ENTER is pressed. The number is preceded by an arithmetic operator + - * /. If the arithmetic operator is omitted, + is assumed. A negative number is entered by keying a minus sign after the number. |
The result is applied to the answer. A visible subtotal is updated after each line is entered. The entered number lines are rolled up. In this way,
the numbers are always available to view. Each line is given its own numeric label, which increments automatically. The user may change this to an alphanumeric label. |
The functions provided are ...
|
The features provided are ...
|
The commands provided are ...
|
The following command keys are used ...
|
MC101S1 MC101 ISERIES CALCULATOR SIMULATOR 2/24/10
PUB1 MCKAY SOFTWARE SERVICES LTD 13:43:27
JMCKAY www.rpglanguage.com www.mckaysoftware.ie
AN 1,089.24354
+ Add ** Power CA Clear Answer GOTO
- Subtract // Root CM Clear Memory UNDO
* Multiply AB Absolute AM Answer to Memory REDO
/ Divide RAND Random No. MA Memory to Answer REPEAT
! Factorial % Percentage
1 + 1.000000 1.000000
2 + 2.000000 3.000000
3 / 3.000000 1.000000
4 * 4.000000 4.000000
5 * 8.000000 32.000000
6 + 32.000000**2 1,056.000000 1,024.00000
7 + 1,056.000000//2 1,088.496150 32.49615
8 + RAND 1,089.243540 RANDOM .74739
9
Bottom
F3 Exit F6 Edit F5 Undo F7 Save F9 Repeat F22 Legend F11 Top
F14 Keys F17 Redo F19 Restore F23 Btm
|
MC101S3 MC101 ISERIES CALCULATOR SIMULATOR 2/24/10
PUB1 MCKAY SOFTWARE SERVICES LTD 14:00:28
JMCKAY www.rpglanguage.com www.mckaysoftware.ie
Temporary L8
AirTicket 175.25 L9
Taxi 15.00 LA
Meals 65.30 LB
L4 LC
L5 LD
L6 LE
L7 LF
2 am AirTicket 175.250000
3 CA
4 + 15.000000 15.000000
5 am Taxi 15.000000
6 CA
7 + 65.300000 65.300000
8 am Meals 65.300000
9 CA
10
Bottom
F3 Exit F6 Edit F5 Undo F7 Save F9 Repeat F22 Legend F11 Top
F14 Keys F17 Redo F19 Restore F23 Btm
|
MC101S3 MC101 ISERIES CALCULATOR SIMULATOR 11/06/09
MCKAY SOFTWARE SERVICES LTD 23:55:34
JMCKAY www.rpglanguage.com www.mckaysoftware.ie
Temporary Expenses 255.55
Airticket 175.25 L9
Taxi 15.00 LA
Meals 65.30 LB
L4 LC
L5 LD
L6 LE
L7 LF
10 Airticket 175.250000
11 taxi 175.250000 Invalid entry
12 Taxi 190.250000
13 Meals 255.550000
14 am Expenses 255.550000
15 CA
16
Bottom
F3 Exit F6 Edit F5 Undo F7 Save F9 Repeat F22 Legend F11 Top
F14 Keys F17 Redo F19 Restore F23 Btm
|
=+++++++++++++++++++++++++++++++++++++++++++++++= * DEC CUR DEC THOU COLOURS / * POS SYM SYM SYMB + - / * AN AN 5 . , WHT WHT / * L1 L1 5 . , WHT WHT / * L2 L2 5 . , WHT WHT / * L3 L3 5 . , WHT WHT / * L4 L4 5 . , WHT WHT / * L5 L5 5 . , WHT WHT / * L6 L6 5 . , WHT WHT / * L7 L7 5 . , WHT WHT / * L8 L8 5 . , WHT WHT / * L9 L9 5 . , WHT WHT / * LA LA 5 . , WHT WHT / * LB LB 5 . , WHT WHT / * LC LC 5 . , WHT WHT / * LD LD 5 . , WHT WHT / * LE LE 5 . , WHT WHT / * LF LF 5 . , WHT WHT / * / * ENTER to update / * F12 to cancel / * / =-----------------------------------------------= |
=++++++++++++++++++++++++++++++++++++++++++++++++++++= * C O M M A N D K E Y S / * F14 Command Keys / * F3 Exit / * F4 Prompt / * F5 Undo F17 Redo / * F6 Editing / * F7 Save F19 Restore / * / * F9 Repeat / * F10 Display Memory F22 Display Legend / * F11 Goto Top F23 Goto Bottom / * F12 Cancel / * / =----------------------------------------------------= |
|
Command MC101C calls the program MC101. There are no parameters to the command nor the program. This is a stand-alone program. |
The screen file is MC101FM. A configuration file MC101CFG holds configuration settings from one run to the next. A log file MC101LOG can be used to save data from a run. This can then be restored in a future run. Similarly, the edit setting - colours, decimal positions, currency symbol, decimal and thosuands separator, can be saved and restored in MC101TMLT. Finally, data in the memory locations can be saved and restored in MC101MRY. Activation group is *CALLER. The objects can be stored in a library of your own choice. |
| The objects are provided in a savef MC101SAVF. To restore the savef, first create a savef on the AS400. |
Use FTP with binary to upload the file to the savf you created. You may then move the contents to a library or libraries of your choice. |
| MC101C | CMD | This is the command which calls the program. |
| MC101CL | CL program | Calculator emulation program - creates userspaces, CFG file. |
| MAKESPACE | CMD | Command to create userspace, wraps api QUSCRTUS. |
| MC101 | RPGLE program | The calculator emulation program. |
| MC101FM | Screen file | Screen layouts |
| MC101SRC | Source file | This contains the source for the commands MC101C and MAKESPACE and CLP MC101CL. |