D
digimbyte
Guest
as the title says, I painfully scratched my head but found game maker unable to compare; A or B or C and instead had to write it out.
Normally in other programming languages, I would simply group things like so
if (textAlign == (1||4||7))
textHAlign = fa_left;
Sadly, that does not work.
The current solution is to write in full
if (textAlign == 1||textAlign == 4||textAlign == 7)
textHAlign = fa_left;
can this be fixed?
Normally in other programming languages, I would simply group things like so
if (textAlign == (1||4||7))
textHAlign = fa_left;
Sadly, that does not work.
The current solution is to write in full
if (textAlign == 1||textAlign == 4||textAlign == 7)
textHAlign = fa_left;
can this be fixed?