I don't get the flags at all. This is probably in the wrong forum but does anyone have any tutorial or something that explains flags?
Printable View
I don't get the flags at all. This is probably in the wrong forum but does anyone have any tutorial or something that explains flags?
Yeah, ask in "MMF2->Technical Support"
flags are VERY useful. If you ever programmed any language: they're like bools. They can be either true (on) of false (off).
They're useful to check some states. For example:
upon pressing "Space bar":
- toggle flag 0
flag 0 is on:
- add 1 to alterable value a
the toggle command switches a flag: when it was off, it's changed to on and vice versa.
What this would do:
You press space. Now alterable value a increases the whole time. You press space again. It stops increasing. Now you press it again, and it increases again, and so on..
Anyway, check MMF2's manual. I'm sure there's a topic about flags ;)