if() and goto in BYOND Discussion
|
|
Are if() and goto procs or not? The DM reference says they are and I agree. Some other people seem to disagree though. I'd really like definitive points, relating directly to DM (as opposed to other programming languages), rather than opinions.
|
They are clearly statements or, more specifically, clauses. They are just actions that cause a jump in code flow based on the value of an expression. Just because if() has parentheses doesn't make it a function.
Hiead