How can PPL discover that CAS is disabled (ie Exam Mode)
|
07-11-2018, 07:46 AM
(This post was last modified: 07-11-2018 07:49 AM by StephenG1CMZ.)
Post: #1
|
|||
|
|||
How can PPL discover that CAS is disabled (ie Exam Mode)
In the somewhat unlikely situation where CAS is disabled but user PPL programs remain enabled in exam mode (I assume that is possible), how can a PPL program discover that CAS is disabled?
Without knowing a good example, if we assume gcd() is a fast CAS function and GCD() a slow PPL function, can I write Code:
More generally, can PPL interrogate Exam mode to discover what is enabled and what is not? How does Exam mode disable CAS - will gcd() not compile because the gcd() function is no longer defined, or is a run-time error generated? Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How can PPL discover that CAS is disabled (ie Exam Mode) - StephenG1CMZ - 07-11-2018 07:46 AM
RE: How can PPL discover that CAS is disabled (ie Exam Mode) - cyrille de brébisson - 07-12-2018, 06:27 AM
RE: How can PPL discover that CAS is disabled (ie Exam Mode) - roadrunner - 07-12-2018, 11:11 AM
|
User(s) browsing this thread: 1 Guest(s)