When I was putting the snap program together everything was fine however once I save and opened that saved file the predicate blocks became undefined. Does anyone know why this is happening?
I forgot to type it but when I save to the cloud this doesn't happen
can you share a link plz and a script pic on the predicate block
Hi, welcome to the forum. Sorry about this problem, but the project is okay (unless you saved it with undefined blocks, in which case you should Recover the project after fixing the underlying problem, which is that your browser has old Snap! code in its cache. To fix it, hold down the shift key while reloading (↻) Snap! into your browser.
I tried putting the photos of what happened inside of this but it said an error occurred but something weird happened the problem I had fixed itself so I think it might have just been with my computer.
Again, the problem was that your browser cache had an old version of Snap!. There's nothing wrong with your computer.
I'm teaching high school CS using snap & am having the same issue when trying to grade my student's work. Their code runs fine on their machine, but when I try to see code on my machine, I'm getting Undefined blocks (not able to attach images). I've tried holding shift & reloading, but that didn't work... any other suggestions??
I've found that holding shift, and clicking reload sometimes doesn't work. To be sure you're clearing the cache (in chrome, idk about firefox), open the dev tools (f12 or ctrl+i), then right-click the reload button. There should be new options that pop up. Click on "empty cache and hard reload".
CTRL + F5