Hello, in a multiple print, it is printed with a separator (comma), this restricts the output form. I suggest that it be printed together and the user define which separator to put.
currently
print( abc, 123, cde ); returns
abc,123,cde
with a custom separator
print( abc, "," , 123, ",", cde); returns
abc,123,cde
print( abc, ", " , 123, ", ", cde); returns
abc, 123, cde
print( abc, " " , 123, " ", cde); returns
abc 123 cde
print( abc, 123, cde); returns
abc123cde
Controlling the expression separator in a multiple print.
Modérateur : xcasadmin
-
- Messages : 603
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: Controlling the expression separator in a multiple print
You can concatenate the strings and other objects to be printed as you like and pass the resulting string to print.
-
- Messages : 603
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: Controlling the expression separator in a multiple print
ok.
How can I print on pretty-print (2D)? So far I have only seen this feature in TI68K calculators
print(x^2); returns x^2 (1D)
prettyprint(x^2); returns x²
How difficult is to implement this feature? xcas already has a two-dimensional expression printing engine,
Expression menu, new expression
x^2 put x²
How can I print on pretty-print (2D)? So far I have only seen this feature in TI68K calculators
print(x^2); returns x^2 (1D)
prettyprint(x^2); returns x²
How difficult is to implement this feature? xcas already has a two-dimensional expression printing engine,
Expression menu, new expression
x^2 put x²