Quote: "Oh I see what you guys are saying."
Not quite
We're saying you have to use brackets when calling other code.
The reason that "function", "endfunction", "while", "endwhile", "if", "endif", "exitfunction" don't use brackets is because they are not functions, whereas commands like "sync", "ink", "box", etc. ARE functions, so you must use brackets for them at all times.
The problem is that whereas in other languages, the distinction between a function and a word that is part of the language is fairly obvious, in DBPro it is difficult to explain the difference, since they are both highlighted in the same way in the editor, but I'll have a go anyway:
Commands like "sync" go and run some code. For the case of "sync", this code updates the screen, checks if the escape key was pressed, etc. but the main point is that when you write "sync" it runs some other code. The suggestion in this thread is that all of these commands should use brackets to call them.
Commands like "if" and "while" do not run any other code, they simply control the flow of the program. Without them the program would just run through from the first line to the last in order. These commands would never use brackets, because they cannot be "called". There is no code behind them which will run, they are what they are.
[b]