10-27-2014, 02:49 PM
In a PPL program (Home environment), is it possible to pass from the command line a symbolic argument to the program?
For example, run MYPROGPPL(k1,k2,k3). Here k3 should contain 'X' or 'X^2' or something like that (defined by the user at program start).
Then, for example, integration could work with \int (from the template) like \int(k3,'X',k1,k2);
This is all no problem with a CAS program,
e.g., MYPROGCAS(k1,k2,k3) with k3 containing 'x^2' can run int(k3,'x',k1,k2); just fine,
but I'm running into problems with PPL and symbolic arguments.
For example, run MYPROGPPL(k1,k2,k3). Here k3 should contain 'X' or 'X^2' or something like that (defined by the user at program start).
Then, for example, integration could work with \int (from the template) like \int(k3,'X',k1,k2);
This is all no problem with a CAS program,
e.g., MYPROGCAS(k1,k2,k3) with k3 containing 'x^2' can run int(k3,'x',k1,k2); just fine,
but I'm running into problems with PPL and symbolic arguments.