You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I type any function call that relies on an import from essentials2021 in the REPL before hitting "Run" for the first time in CPO, I get the following error message:
Basically, the functions provided by essentials2021 are not in scope until the "Run" button is clicked for the first time, which has been a point of confusion for cs111 students and staff this semester, since it appears that the same function call errors in the REPL but works when put into the code file and run.
Can we have the "Run" button be run once upon loading the page so that everything is in scope?
The text was updated successfully, but these errors were encountered:
+1 to this. It's a crummy experience in PD to have teachers load CPO and do tons of simple things without ever hitting run....and then they all get errors if they try to make their first triangle.
If a context is defined, can we have it auto-run on pageload, or have Pyret not usable at all until Run is clicked? .
If I type any function call that relies on an import from
essentials2021
in the REPL before hitting "Run" for the first time in CPO, I get the following error message:Basically, the functions provided by
essentials2021
are not in scope until the "Run" button is clicked for the first time, which has been a point of confusion for cs111 students and staff this semester, since it appears that the same function call errors in the REPL but works when put into the code file and run.Can we have the "Run" button be run once upon loading the page so that everything is in scope?
The text was updated successfully, but these errors were encountered: