Best way to initialize global variables?
Posted: 12 Sep 2017 14:27
There are several ways to set Variables and i want your opinion which one's the best. If you know of any other way i forgot, please tell me and i add it :^)
Code: Select all
convertNull(global_variable, newList("default", "values"));
Code: Select all
if (global_variable == null) { global_variable = false; }