View Single Post
  #2 (permalink)  
Old 12-13-2007, 11:54 AM
staykovmarin staykovmarin is offline
Senior Member
 
Join Date: Nov 2007
Location: Newport, WA
Posts: 141
staykovmarin is on a distinguished road
Code:
var == 1
Right now you are using a boolean operator (the double = sign). The result of the following equation is true of false. '
The use is this (in pseudocode):
Code:
boolean isAuthenticated = false; if (passWordIsCorrect) isAuthenticated = true; else isAuthenticated = false; if (isAuthenticated) allowToSeeSecretData;
note: Pseudo code is English, written in a more code like form, just to make sense. That of course will not compile.
Reply With Quote