
Readme file for jcalc1.0(alpha).

Jcalc is an interactive calculator with build in functions and variables.
Is capable of processing long line of complex calculations with 
functions, variables and comments.
File processing is also included. See 'force'  file.

You can invoke jcalc in two ways:
   1. command line with calculation :
            jcalc 'sin(90)*.34'
      NOTE : use '  ' to pass calculation as one argument.

   2. or just jcalc(Enter) followed by code.
       jcalc >: sin(90)*.34

Input and output redirections are not permitted.

Code examples:
jcalc :> x=(34-6)*pow(24,2)
jcalc >: 16128 

 16128 is the result of this calculation and is stored in variable 'result'.
To check value of x type:
jcalc :>x
        x          16128     # 

to see all variables type:
jcalc :>vars
    result          16128     # Result of last calculation.
        pi          3.14159     # Constant PI.
         x          16128     # 

Every variable can have its comment. To set a comment to a variable or
calculation use # followed by a comment. 

jcalc :> x=33 # my age
jcalc :> y=28 # Tanya's age
jcalc >: x-y#age dif.
jcalc >#  age dif.
doing 33-28          _  5 _  END 
jcalc >: 5     age dif.

use 'vars' again.
jcalc >: vars
    result          5     # Result of last calculation.
        pi          3.14159     # Constant PI.
         x          33     #  my age
         y          28     # Tanya's age


jcalc --help will provide complete reference to build-in functions
and operators according to its precedence.

Limitations : 
   data format : C++ double (64bits floating point numbers).
   variables : max 25 variables, 10 chars long names.
   Linux i386 ELF binaries only for this version.
   All variables are global.

This software comes with NO WARRANTY of any kind, and its FREE to use. 
 
Have fun.
             Jack Kopytek.


  
