Quote:
Originally Posted by cbk1994
|
Personal Preference (: (How you 'categorize' variables into groups is personal preference

)
Quote:
Originally Posted by cbk1994
Keep in mind that visible is a boolean, so you should not set it to '0'; instead use 'false'. "new" should also not be capitalized.
|
True bools do not exactly 'exist' in graal, as it's either 0 or 1. So it doesn't matter if you use
true or
false as the engine will read it as 0 or 1 anyways.
Reason why you can do
PHP Code:
if ((true + true) == 2) {
// proceed
}
So it's basicly just easier to write 0 and 1 instead of true and false, since it's shorter