Post Reply 
print() in CAS Program
04-20-2021, 06:42 PM
Post: #8
RE: print() in CAS Program
(04-20-2021 05:55 PM)StephenG1CMZ Wrote:  I think what is happening is that the Python-syntax-in-CAS doesn't implement Python's string function.

Anything that Python-in-CAS doesn't understand is being interpreted by the CAS (or the PPL) instead.

For example, you can draw a Mandelbrot set using Python-in-CAS, using PPL's PIXON calls inside the Python for loop. And those PIXON calls are surely PPL and not Python. [can't find that program now]

So, whatever syntax you need within the PRINT is likely to be PPL (or CAS within the print), not Python, unless you are using the Python Beta.

Does that help? Or am I mistaken?

You're quite right. The PPL PRINT() works in the CAS program but the print() fails.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
print() in CAS Program - toml_12953 - 04-20-2021, 03:09 PM
RE: print() in CAS Program - StephenG1CMZ - 04-20-2021, 03:43 PM
RE: print() in CAS Program - toml_12953 - 04-20-2021, 05:23 PM
RE: print() in CAS Program - toml_12953 - 04-20-2021, 05:29 PM
RE: print() in CAS Program - roadrunner - 04-20-2021, 03:43 PM
RE: print() in CAS Program - toml_12953 - 04-20-2021, 05:33 PM
RE: print() in CAS Program - StephenG1CMZ - 04-20-2021, 05:55 PM
RE: print() in CAS Program - toml_12953 - 04-20-2021 06:42 PM
RE: print() in CAS Program - jonmoore - 04-21-2021, 12:42 PM



User(s) browsing this thread: 2 Guest(s)