This is a strange bug and I have reproduced it multiple times while other times nothing happens.
putting a number directly next to a letter for example "x=2b" will crash the game instead of returning a -1 or error in general.
A mathematical expression evaluator for GameMaker · By