So I am having an issue with variables staying initialized, I am calling one of my KAREL scripts and giving it values to its variables, some of the variables are optional and when I dont give them any new values, they keep using the values from the last call where they had a value. I am guessing that this is because KAREL saves the values in a .VR (?) file and uses old values if no new ones are there.
I am using UNINIT inside my code to check wether the value is initialized or not, but that breaks, because once I give it any value, it stays initialized, is there a way to "uninitialize" a variable in karel? Like var = null or something?
P.S. I just found the %UNINITVARS directive in the Karel manual, but it doesnt seem to help.