and write a program that initializes the program only once, but a strange phenomenon occurs. I use Title to display the value of my variable. The value of 1e-10 does appear in the first execution, but I'm sure my program has initialized these StaticVar
Post ENTIRE code, not one line from it. The error you are making is somewhere else but without seeing the whole thing, we can't tell you where. Please follow this advice: How to ask a good question