Thursday, January 6, 2011

Boolean Logic

Boolean Logic is the simplest kind of logic that is used in programming. It just states whether something is true or false. Like if a certain file exists in a remote filesystem, you would use a function to check if that file existed and if it did, you would declare a bool variable and set it to true. If the file diddnt exist, the bool variable would be set to false

No comments:

Post a Comment