now it looks good on MS Vista and when a user changes size of some widgets such as a border, font size, etc. added: spanish language to the setup (installer) added: the setup will remove mingwm10.dll if it exists in the program directory added: on display tab: we can select 'deg' 'rad' or 'grad' for calculating in such functions: sin,cos,tan,cot,asin,acos,atan,acot added: macro TTCALC_CONVERT if not defined there will not be a convert tab (the convert tab is not finished) added: a new icon with following dimensions: '48x48' '32x32' '16x16' removed: parameter for gcc: -mthreads with -mthreads it is possible (on windows) to release some kind of 'destructors' belonging to a thread when the specific thread exists (it prevents some kind of memory leaks) in the TTCalc when the second thread exists then there is the end of the program and we can not use '-mthreads' removed: file TODO (I didn't use the file) git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@114 e52654a7-88a9-db11-a3e9-0013d4bc506e
36 lines
1.5 KiB
HTML
36 lines
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>TTCalc - user defined variables and functions</title>
|
|
<link rel="stylesheet" href="styles.css" type="text/css">
|
|
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
|
|
<param name="Keyword" value="user defined variables">
|
|
<param name="Keyword" value="user defined functions">
|
|
</object>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>User defined variables and functions</h1>
|
|
|
|
<p>
|
|
You are allowed to define your own variables and functions. As a name of a variable or a function
|
|
can be a name consists of letters, digits or an underline character but the first character must be a letter.
|
|
From version 0.8.3 names are case-sensitive that means 'name' is not the same as 'NaMe'. For example these
|
|
are correct names: a, b, c3, MyName, etc. During defining variables and functions you can call another
|
|
variables and functions but you cannot call a variable or a function twice. Recurrence calling are not allowed.
|
|
</p>
|
|
|
|
<p>
|
|
Functions can get maximum 9 parameters. You have to specify how many parameters your function takes and
|
|
you can refer to them by using the variable 'x' with a number from 1 to 9 ('x' without a number means 'x1').
|
|
For example you can define a function 'xy' as 'x1*x2' (of course without apostrophes), set the 'parameters' on 2
|
|
and then put into the edit box an expression 'xy(10;20)', the result will be 200. Note that we use a semicolon
|
|
to separate arguments in a function.
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|
|
|