">
|
|
||||||||
|
|
|
Often you want to compare a value of one variable with one of another variable, or the value of a variable against a literal value, for example the value in an if-statement. Example for a comparison is if you want to compare the value of the day of week to "Sunday", you can do this by checking todaysDate == "Thursday". Don't mix up '=' with '==', the first is an assignment, the second one is a comparison.
|
|
|
||||
|
Copyright © 1995-2003 Sidetrips Internet Services, Inc. All rights reserved.
Reproduction in whole or in part in any form or medium without express written permission of Sidetrips Internet Services, Inc. is prohibited. sidetrips.com, hostserver.com, registera.com, htmlshop.com, and associated domains are trademarks of Sidetrips Internet Service, Inc. Privacy Policy | Acceptable Use Policy | Terms of Service |
||||||||