Buttons

PawCalc's main screen contains some 27 buttons. Some of them have obvious functions, like the '0'-'9' buttons. The rest are explained here. You can choose which buttons are shown on the screen using the 'Layout' menu or the scroll keys (hardware keys).

Button Description
/ * - + \ % Insert the corresponding operator. If this is the start of an expression, 'ans' is inserted first.( '\' is the integer division and '%' is the remainder function.)
clr Clear the current expression.
ans Insert the text 'ans' -- 'ans' is a variable containing the value of the last expression.
~ Monadic minus -- the same as the '-' button except that 'ans' is never inserted.
<- 'Backspace'
^ Raise to a power (2^3 = two to the power of three = 8).
(blank) Insert a space
STx Store the result of a calculation in variable 'x'. You can use any lower case letter instead of x.
RCx Insert variable 'x' in the expression. You can use any lower case letter instead of x.
STO Store the result of a calculation in a variable.
RCL Insert a variable in the expression.
num, sum Statistical registers for number and sum. There is also another register called 'sos' for sum-of-squares.
ave, std, var Statistical functions to calculate average, standard deviation and variance.
ADD, REM Add or remove elements from the statistical registers.
CLR Clear the statistical registers.

A variable name consists of one letter followed by zero or more letters and digits. No spaces or punctuation marks are allowed. Be careful not to name variables the same as constants or functions, as the variables would then be 'invisible'.

You can customize the layout of the keys by modifying the layout memo. The memo starts with the keyword 'layouts' following by a one-word name for layouts. Then it lists, column by column, the label of the buttons and text. Each label and each text is in quotes. The first 27 labels and texts describe the 'User 6' layout. The next 27 labels and texts describe the 'User 7' layout, and so on until 'User 10'. The label can be up to three characters long and will be written on the buttons themselves. The text can be up to 17 characters long and will be added to the expression line when the button is pressed. If the first character of the text is '#', then the remainder is treated as a program name and the corresponding program run.