I've been steadily trying to learn c++ for the past year and a half now, but as far as anyone should be concerned I happen to be a complete newb and I'm totally new to the whole who psp coding scene.
Anyway, sort of have a question about the dofile comand. Every time i link to another file, everything seems to work out fine... until i try and link back to another script file or the original script file. After that, I get all of these strange bugs, as if the other lua scripts that i loaded from the dofile command were still loaded. For instance, the music from the previous scripts still play and the button commands that were assinged to the psp (.i.e controls.read()) in the previous script also still work and clash with how they might be newly assigned.
i was just wondering if anybody knew if there is like some sort of un-dofile command for lua... because that would be a whole of a lot mess easier than creating a new function exspecially for disabling everything