if
If...Then...Else This handy statement allows you to compare two or more conditions. It would appear like this:
IF {condition} {operator} {condition} THEN {code} ELSE {code} END IF The above code is mainly a basic example, indeed, it works in Visual Basic. A javascript(simmilar to c) could look something like this: if (condition) { statements to execute } Search on Google for 'if {programming language}' and you should find some pages about the if statement for your language.
By kayfelix