8.8

Table Of Contents
Example
This example will always return true, as the condition is static. It is, after all, simply an example.
You get the idea.
VBScript
Dim everythingOK
everythingOK = true
if (everythingOK = true) then
Script.ReturnValue = 1
else
Script.ReturnValue = 0
end if
JavaScript
var everythingOK;
everythingOK = true;
if(everythingOK = true){
Script.ReturnValue = 1;
} else {
Script.ReturnValue = 0
}
Python
everythingOK = True
if everythingOK == True:
Script.ReturnValue = 1
else:
Script.ReturnValue = 0
Perl
$everythingOK = true;
if (everythingOK = true) {
$Script->{ReturnValue} = 1;
} else {
$Script->{ReturnValue} = 0;
}
Page 120