RizbIT
Member
After converting from GMS 1 to GMS 2 i get some errors during runtime that i id not get with GMS1 after compiling.
in GMS 2 i think when you ask it to do real(variable) where the variable is "" or maybe has no digits it gives an error
unable to convert string "" to number.
ive fixed one of these errors by using if string_digits(variable)!=""
but there several more so is there a way to bypass or ignore these errors? as if the variable is "" then i want real(variable) to just return 0
in GMS 2 i think when you ask it to do real(variable) where the variable is "" or maybe has no digits it gives an error
unable to convert string "" to number.
ive fixed one of these errors by using if string_digits(variable)!=""
but there several more so is there a way to bypass or ignore these errors? as if the variable is "" then i want real(variable) to just return 0