Variable S is global. In Proc1 I make new savefile using global var and save some information. Later in Proc2 I try to load that information, but it ends up with null. Then I checked and savefile was 0 bytes in size. Once I closed world (DreamSeeker) information been written to savefile. Why?

P.S.1 If you wonder why I use global var, then I'm just too lazy to type var/savefile/S everytime
P.S.2 Before you start whining, [A] and [name] are equal

I had S as a global var and it still worked for me. I really don't see how that would affect it.

I assume its because the system doesn't close the file between verbs/procs when its referenced in a global variable.

Yeah I had was thinking that when he had posted it, but when I tried it, it worked just fine. The savefile was created and had the information in it right away when the proc was ran on my end. The version of BYOND might have something to do with it. I'm using the latest version of BYOND availble for download. Which version is Ripiz using?