In Version 2.9.0 a very simple programming interface (actually more like a macro playback) has been added. Almost any operation that does not involve user interaction can be replayed using this facility, but it is by no means a programming language. For example, there are no jumps or labels, no compare functions (like x<0?) etc. It is fine for playing back repeated key sequences, though, and maybe someone will use it. I do think about extending the programming facilities some time in the future.
The basics
Simple example
Open the program editor by pressing Alt-F1. The editor is modeless, which means XCALC can be used also when the editor window is showing:
In the input field, key in PI SQR (or pi sqr), or alternatively click the Record button, then the p and x² buttons in the main XCALC window.
Click OK (or Apply). Then with the XCALC main window active, press Shift-F1, and XCALC will display the value of p², or 9.86...
Buttons:
See also: