\alias |
define or list aliases |
\arg |
define alias with default |
\export |
put alias to environment |
\import |
import alias from environment |
\store |
save result from evaluate |
\unalias |
remove alias |
\back |
return to previous directory |
\cd |
change working directory |
\dir |
directory listing |
\mkdir |
create directory |
\pwd |
print working directory name |
\addeval |
add a variable |
\evaluate |
calculator |
\listeval |
show stored variables |
\removeeval |
remove a variable |
@ |
execute commandfile |
& |
execute commandfile |
\command |
show command list |
\dir |
directory listing |
\edit |
invoke editor |
\journal |
copy input commands to file |
\overwrite |
overwrite existing files |
\rename |
rename file |
\exit |
emulate end-of-file |
\goto |
skip statements |
\if |
conditional execution |
\repeat |
multiple execution |
@ |
execute commandfile |
& |
execute commandfile |
\bell |
keyboard bell |
\help |
try to display program help |
\journal |
write input commands to file |
\pause |
pause until user types go |
\spawn |
execute command as subshell |
\shell |
create new shell |
\cls |
clear screen |
\echo |
echo input commands and command files |
\output |
more or less output |
\wl |
set terminal width to 132 |
\wn |
set terminal width to 80 |
\cpu |
show cpu time since last setcpu |
\date |
show date |
\pause |
wait for user (if interactive) |
\second |
show cpu time since last setcpu |
\setcpu |
initialize cpu timer |
\time |
show time |
\wait |
wait |
+ |
add |
- |
subtract |
* |
multiply |
/ |
divide |
** |
power |
^ |
power |
acos |
arc cosine |
asin |
arc sine |
atan |
arc tangent |
atan2 |
atan2 |
cos |
cosine |
sin |
sine |
tan |
tangent |
acosd |
arc cosine |
asind |
arc sine |
atand |
arc tangent |
atan2d(f,g) |
atan2 |
cosd |
cosine |
sind |
sine |
tand |
tangent |
eq(f,g) |
1.0 if f is equal to g, else 0.0 |
eq(f,g,v,w) |
v if f is equal to g, else w |
even(f) |
1.0 if f even, else 0.0 |
even(f,v,w) |
v if f even, else w |
ge(f,g) |
1.0 if f is greater than or equal to g, else 0.0 |
ge(f,g,v,w) |
v if f is greater than or equal to g, else w |
gele(f,g,h) |
1.0 if f is greater than or equal to g and less than or equal
to h, else 0.0 |
gele(f,g,h,v,w) |
v if f is greater than or equal to g and less than or equal
to h, else w |
gelt(f,g,h) |
1.0 if f is greater than or equal to g and less than h, else 0.0 |
gelt(f,g,h,v,w) |
v if f is greater than or equal to g and less than h, else w |
gt(f,g) |
1.0 if f is greater than g, else 0.0 |
gt(f,g,v,w) |
v if f is greater than g, else w |
gtle(f,g,h) |
1.0 if f is greater than g and less than or equal to h, else 0.0 |
gtle(f,g,h,v,w) |
v if f is greater than g and less than or equal to h, else w |
gtlt(f,g,h) |
1.0 if f is greater than g and less than h, else 0.0 |
gtlt(f,g,h,v,w) |
v if f is greater than g and less than h, else w |
le(f,g) |
1.0 if f is less than or equal to g, else 0.0 |
le(f,g,v,w) |
v if f is less than or equal to g, else w |
lt(f,g) |
1.0 if f is less than g, else 0.0 |
lt(f,g,v,w) |
v if f is less than g, else w |
ne(f,g) |
1.0 if f is not equal to g, else 0.0 |
ne(f,g,v,w) |
v if f is not equal to g, else w |
odd(f) |
1.0 if f odd, else 0.0 |
odd(f,v,w) |
v if f odd, else w |
abs |
absolute value |
between(f,g) |
bring f between -g and g (modulo 2*g) |
entier |
largest integer less than f |
exp |
exponent |
gauss |
GAUSS4+GAUSS1*exp(-0.5*((x-GAUSS2)/GAUSS3)**2) |
int |
truncate |
log |
natural log |
log10 |
base 10 log |
max(f....) |
maximum of (at most) 5 arguments |
min(f....) |
minimum of (at most) 5 arguments |
mod(f,g) |
f modulo g |
nint |
round |
plog |
natural log (zero for arg ≤ 1) |
plog10 |
base 10 log (zero for arg ≤ 1) |
sign(f) |
-1.0 if f<0, +1.0 if f≥0 |
sqrt |
square root |
within(f,g,h) |
f if g<f<h, otherwise the extreme value. min(max(f,g),h) |
Pi |
3.1415.... |
PiOver2 |
0.5*Pi |
TwoPi |
2*Pi |
Grad |
180.0/Pi |
rnd |
0.0-1.0 |