I prefer the C way of calling functions.
BASIC's stand that there is a difference between "subs" which dont return a value, and "Functions" which do, is absolutely stupid and confusing.
Back in math class, functions were written using the following notation:
y = f(x)
y = tan(x)
NOTE: there was not a semicolon at the end.
calling a function includes () whether there are parameters or not.. for instance...
DoSomething()
is the right way to call it.
with out the () it is not acceptable. This helps us all differentiate between functions and variables as we browse threw our code.
Enough said.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I prefer the C way of calling functions.
BASIC's stand that there is a difference between "subs" which dont return a value, and "Functions" which do, is absolutely stupid and confusing.
Back in math class, functions were written using the following notation:
y = f(x)
y = tan(x)
NOTE: there was not a semicolon at the end.
calling a function includes () whether there are parameters or not.. for instance...
DoSomething()
is the right way to call it.
with out the () it is not acceptable. This helps us all differentiate between functions and variables as we browse threw our code.
Enough said.