NAME
    cmdbuf - print the command buffer

SYNOPSIS
    cmdbuf()

TYPES
    return	str

DESCRIPTION
    This function returns the command string that was formed by calc based
    on its command line arguments.  If calc was invoked without arguments,
    this function will return an empty string.

EXAMPLE
    % calc "print cmdbuf(); a = 3; print a^2;"
    print cmdbuf(); a = 3; print a^2;

    9
    %

LIMITS
    none

LIBRARY
    none

SEE ALSO
    XXX - fill in
