BlueIshDan
☠
- Local time
- Today, 00:54
- Joined
- May 15, 2014
- Messages
- 1,122
For the education of those out there that are assigning values to blank variables as a solution to stop the error when using a function.
The real solution to this is to simply take away the brackets!
NO:
YES:
You will have to use the brackets in the case of:
Using the function in a condition statement
Whenever you actually want to compare the returned value to something or capture the value into a variable.
The real solution to this is to simply take away the brackets!
NO:
Code:
a = Function(param1, param2)
YES:
Code:
Function param1, param2
You will have to use the brackets in the case of:
Using the function in a condition statement
Whenever you actually want to compare the returned value to something or capture the value into a variable.