07-11-2018, 07:46 AM
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
What is the best way of detecting "CAS enabled"?
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?
Without knowing a good example, if we assume gcd() is a fast CAS function and GCD() a slow PPL function, can I write
Code:
CASE
CASenabled : gcd() END;
PPLenabled : GCD() END;
DEFAULT my_own_gcd() END;
END:
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?