Previous Up Next

12.2.7  Displaying exponents: printpow

The printpow command determines how the print command will print exponents in the special pane above the output line.


Example.
Input:

print(x^3)

Above the output line:

x^3

Input:

printpow(-1)
print(x^3)

Above the output line:

a**b

Input:

printpow(0)
print(x^3)

Above the output line:

pow(a,b)

Input:

printpow(1)
print(x^3)

Above the output line:

print(x^3)

Previous Up Next