Help
- Basics: Intro, Variables, Reserved Variables, Constants, User-defined Functions
- Quanta: Number Syntax, Vectors, Booleans, Units, Currency Units, Number Bases
- Functions: Built-in Functions, Logic Functions, Bitwise Functions, Summations, Order of Operations
- App: Window, Settings, Keyboard Shortcuts
- More: Sales, Tips, This is Madness
Welcome to the Help section. You can choose topics or just start at the top and work your way to the bottom. You can also open up MathPad and click on (?) Help → Examples. The old help file can be found here.
Intro
Here is a quick look at some of the features.
Some random features.
Variables
Reserved Variables
MathPad stores the value of previous lines in different ways. Keep in mind that any line that uses 'total' or 'sum' is defined as a 'total line' or 'sum line'. So a line that just says "total" or a line that says "total + 500" are both considered to be a "total line".
ans, answer, prev Answer of previous line. total, vtotal Sum of all previous lines that don't have reserved variables (except 'ans'). subtotal, vsubtotal Same as total, but resets at lines with 'total' or 'subtotal'. count, vcount Counts all lines that don't have reserved variables (except for 'ans'). subcount, vsubcount Same as count, but resets at lines with 'count' or 'subcount'. average, averageall Total / Count.
There are 6 reserved variables (not including the alt names). There are rules governing how they interact with each other. Answer is different from the rest of them, in that the rules that they follow say nothing about ans/answer/prev.
Constants
Constants are not case-sensitive by default (some are made to be case-sensitive though). All available constants are accessible through the Constants Menu as well. However, many constants have alternative names, these can be found in the Data Menu.
User-defined Functions
...
Number Syntax
There are many ways to type numbers in. All of these examples are the exact same number.
25800000 25,800,000 25 800 000 25,800k 25.8kk 25.8 × 10^6 25.8E6 25.8e6 25.8e+6 25.8e-6 25.8 million 0b110 // binary 0o70 // octal 0xff // hexadecimal
Vectors
...
Booleans
...
Units
You can multiply and divide units.
Currency Units
Most unit values are constants. Currency unit values however, can change over time. This requires unit values to be updated regularly. MathPad downloads new foreign exchange rates (FOREX) whenever the current rates are more than a day old. You can also force an update in the Data Menu.
MathPad uses MyCurrency and Cryptonator to download exchange rates. continue
Number Bases
...
Built-in Functions
Functions are NOT case-sensitive. So you may capitalize as you wish to help readability, such as some of the bitwise operators: bitor (BitOr), bitxor (BitXor), shiftleft (ShiftLeft), shiftright (ShiftRight), etc..
Some operator symbols have more than one meaning, such as "-" and "!". MathPad figures out the correct meaning based on the context it's used in.
For a list of all functions, click here.
Logic Functions
...
Bitwise Functions
...
Summations
...
Order of Operations
The order of operations is typically represented by PEMDAS.
(P)arenthesis (E)xponents (M)ultiplication and (D)ivision. (A)ddition and (S)ubtraction.
But PEMDAS leaves out quite a bit. So I have outlined the precedence of how everything is evaluated in MathPad.
- (P)arenthesis
- Functions (in function notation)
- Unary Right: Factorial '!'
- (E)xponentation & Root '√'
- Unary Left: Negation, Not, Logical Not, Bitwise Not/Complement (note: also right associativity)
- Implicit Multiplication (note: only has higher precedence if enabled in the settings)
- (M)utliplication, (D)ivision, Modulo, Of
- (A)ddition, (S)ubtraction, On, Off
- Bitwise Shift ('<<' and '>>') and Rotate
- Relational ('>', '<', '<=', and '>=')
- Equality ('==' and '!=')
- And, Nand
- Xor
- Or, Nor
You can find more information here.
Window
...
Setting
...
Keyboard Shortcuts
Ctrl+D (D)elete/clear current page. Ctrl+F (F)ile open. Ctrl+H (H)elp [Online Documentation] Ctrl+I D(i)ctionary Manager. Ctrl+K (K)eyboard Shortcuts. Ctrl+M (M)ain Menu visibility toggle. Ctrl+O (O)ptions/Settings. Ctrl+R (R)andomize window color Ctrl+S (S)ave page to file Ctrl+T (T)ab Menu visibility toggle Ctrl+W (W)indow spawn. Cntrl + Mouse Wheel for zooming (font size).
Sales
...
Tips
...