home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
mar94
/
os20
/
util
/
mcalc.lha
/
MCalc
/
MCalc.doc
< prev
next >
Wrap
Text File
|
1993-12-31
|
21KB
|
709 lines
Welcome to MUIProCalc v1.2. This is a short description on how to use
MUIProCalc and what possibilities it offers. Anyway, it is a quite
powerful calculator, also suited for programmers who have to deal with
different computer specific calculations and values.
MUIProCalc doesn`t stand for MUI'Professional'Calc. It is meant to
stand for MUI'Programmer'Calc...
MUIProCalc (MCalc) is (C) 1993 Kai Iske, GiftWare
The icon for MUIProCalc was taken from the ToolManager 2.0
distribution and was designed by Michael 'Mick' Hohmann.
MUI is Copyright (C) Stefan Stuntz
*NOTE* that you better set the stack size to at least 8192 bytes
Copyright
*********
You are allowed to copy and spread this program but only if you do
not make any commercial profit out of the program itself and all
supported files. The source of MUIProCalc is considered teachware and
the author claims the right to be the only one to produce and
distribute new versions of MUIProCalc. Public Domain vendors are not
allowed to sell MUIProCalc for more than the price of a regular disk,
which should not be higher than 5 Dollars.
MUIProCalc is GiftWare, so if you like it and you you want to express
your feelings, feel free to send me anything you think of being suited.
Postcards, cookies, money, simply anything ;)
Guarantee
*********
The author does not give any guarantee that the program MUIProCalc
works perfectly. The program was tested and it is used every day,
anyway nobody is perfect and that is why I can not take the
responsibilty for any damages occured during the usage of MUIProCalc.
Evolution
*********
Due to the fact that I was still using Calc 3.0, written by Jimmy
Yang, which wasn`t that compatible to newer Kickstarts, I thought about
writing a new one, since I couldn`t find any calculator suited my
needs. Not that Calc 3.0 was/is buggy, but it`s just the fact that it
isn`t font adaptive. Furthermore I wanted to know how powerful MUI
really was, so I thought it`d be a good idea to write it using MUI.
Taking Calc 3.0, I tried to implement the functionality of this
calculator, putting it into a MUI-GUI. What is still missing is the
plotter. This may change in a later release.
One word to the parser: The grammar might not be perfect. There`s
only a small amout of syntax checking, in order to minimize parser
size. Float value error handling isn`t perfect either, yet. I just
wanted to have a calculator as soon as possible. All this will change
in future releases, if there are enough of replies.
Whom I must say 'thank you'
***************************
I would like to thank the following people
`Dirk Federlein'
For betatesting and suggestions
`Stefan Stuntz'
Especially for MUI and for answering all my questions...
`Volker Güth'
For being the first (and only one so far) contacting me just
because of MUIProCalc...
`My girlfriend'
Who accepts what I`m doing
...and all the others I forgot
How to obtain updates
*********************
MUIProCalc will be available on ADS, FRAS, FTP, and Fred Fish disks
as soon as there`s a new release available.
How to contact the author
*************************
If you have any questions, suggestions, bug reports or anything else
you want to tell me, you may contact me under one of these addresses.
Either use normal snail mail:
Kai Iske
Brucknerstrasse 18
63452 Hanau
Germany
Tel.: +49-(0)6181-850181
or reach me using electronical mail
USENET: kai@iske.adsp.sub.org
FIDO: Kai Iske, 2:244/6302.11
ZNET: KAI@SWEET.ZER
Installing MUIProCalc
*********************
Installing MUIProCalc isn`t that hard. First of all you should get
hold of MUI (MagicUserInteface) and install it. MUIProCalc relies on
MUI, since the complete User Interface was written using this great
system.
Having installed MUI (if you haven`t done so already), you may copy
the program `MCalc' and it`s icon `MCalc.info' to a place you like.
If you want to use the online help, you have to have AmigaGuide(C)
installed. If so, move the supplied `MCalc.guide' file to the same
directory you moved the main program to.
That`s it. In order to get online help, simply position the mouse
over the object you want to get help for and MUIProCalc will pop up a
window containing the help text.
One word to the menu shortcuts : They might not be Style Guide
compliant, but I think it`ll work just fine, anyway ;)
*NOTE* that you better set the stack size to at least 8192 bytes
Using MUIProCalc
****************
Well, it isn`t that hard to use MUIProCalc. The main input window is
devided into three areas, which are
The input/output area
=====================
Within this area (the upper) you see a String gadget and a ListView
gadget. The String gadget is used to enter the expressions you want to
calculate.
Within the ListView you see a history of all entered expressions and
results. Per default the left column of the ListView is used to display
the expression, whilst the right one reflects the result. You may set
the number of lines bufferd using the Preferences. Furthermore you may
tell MUIProCalc how to format the entry, i.e. you may have four
different output types. See History, to find out more about history
settings.
Function tables
===============
Within this area you`ll find all the functions supported by
MUIProCalc. Simply click on the function you want to be added to the
expression. You will also notice a Cycle gadget. This one may be used
to switch between two function tables. The first set is a more
mathematical set, whilst the second might only be of use to
programmers. There are functions for bit-manipulation etc.pp.
This Group may be hidden, thus leading to more space. See Layout, to
find out more about that.
Input fields
============
These are buttons probably known from any other calculator. Simply
click on the digit/operator you want to add to your expression. The
characters 'A-F' are used to enter hexadecimal values. The other
characters 'X-Z' are memories. These can be set using an expression of
the form
x = sqrt (2*3)
This expression will set memory 'X' to the result of 'sqrt (2*3)'.
You may now use this value during other operations. You may even set a
memory relative to another one, like
x = y + sqrt (2*3)
MUIProCalc supports four different value formats, these are :
`Decimal'
Decimal values are entered with no additional characters, like
'2.12322'. You may even enter doubles using scientific notation,
like '2.123e-2'
`Hexadecimal'
These values are preceded by a '$'-sign or by '0x'
`Octal'
These values are preceded by a '\'-sign
`Binary'
These values are preceded by a '%'-sign
The '!' operator is used to calculate the factorial of a value. This
one is limited to a value of !170.
The 'Exec' button may be used to 'start' the calculator. This can
also be done, by simply hittin RETURN from within the String gadget
'CLR' clears the current display.
'ACLR' will clear the display and all memories
This Group may be hidden, thus leading to more space. See Layout, to
find out more about that.
The menus
=========
MUIProCalc offers a set of menus. These are :
Project
-------
The Project menu offers three entries :
`Preferences...'
Will open the Preferences editor (see Prefs)
`About...'
Will display about messages
`Quit'
Will quit MUIProCalc
History
-------
If you prefer to use your mouse or the menu shortcuts you may paste
an entry from the history to the current cursor position from within
this menu :
`Pick left entry'
Will pick the left entry from the list and paste it to the current
cursor position. If only one column is shown, this will be used
(see Prefs).
`Pick right entry'
Will pick the right entry from the list and paste it to the
current cursor position. If only one column is shown, this will be
used (see Prefs).
`Copy left entry'
Selecting this item will copy the left entry from the history to
the selected c