focus expression text field at startup -> version 1.2
[LeanCalc.git] / help / cmdbuf
1 NAME
2     cmdbuf - print the command buffer
3
4 SYNOPSIS
5     cmdbuf()
6
7 TYPES
8     return      str
9
10 DESCRIPTION
11     This function returns the command string that was formed by calc based
12     on its command line arguments.  If calc was invoked without arguments,
13     this function will return an empty string.
14
15 EXAMPLE
16     % calc "print cmdbuf(); a = 3; print a^2;"
17     print cmdbuf(); a = 3; print a^2;
18
19     9
20     %
21
22 LIMITS
23     none
24
25 LINK LIBRARY
26     none
27
28 SEE ALSO
29     XXX - fill in
30