Alby Stalks
Alby Stalks

Reputation: 147

wxMaxima Change equal sign (=) into a string (-->)

I have the following wxMaxima code:

/* [wxMaxima: input start ] */

one:2*H[2];

/* [wxMaxima: input end ] */

/* [wxMaxima: input start ] */

two:O[2];

/* [wxMaxima: input end ] */

/* [wxMaxima: input start ] */

three:2*H[2]*O;

/* [wxMaxima: input end ] */

/* [wxMaxima: input start ] */

one+two = three;

/* [wxMaxima: input end ] */

and I would like to change the equal sign (=) with the arrow (-->). Thank you very much for any help.

Upvotes: 0

Views: 83

Answers (1)

Robert Dodier
Robert Dodier

Reputation: 17576

Try this: infix("-->"); and then you can input foo + bar --> baz directly (no need to write it first with = and then substitute --> for =).

Upvotes: 1

Related Questions