Home
XtGem-
Templates-
XtScript-
Translate this page
Powered by
Microsoft® Translator
Main Index
Predefined Functions
Scripts
Xtforum post
Short Url
if not or not
The
if
statement creates the branches and switches of your Xtscript
[...] = optional ... = your value
if not ... or not ...
...
[else
...]
endif
Example code
Show as text
<!--parser:xtscript--> var $x = call mt_rand $min=1;$max=2 var $y = call mt_rand $min=1;$max=2 # If not ... Or not... # simulates $x == 1 and $y == 1 if not $x == 1 or not $y == 1 print One of \$x or \$y is not equal to 1 else print Both \$x and \$y are equal to 1 endif print <br />\$x=$x \$y=$y <!--/parser:xtscript-->
Show as text
Example output
Reload
Both $x and $y are equal to 1
$x=1 $y=1
Related pages
if
if and
if or
if not or
if elseif
goto
Quick index
assign
basic syntax
comments
concatenation
cookies
custom paging
debugging tools
del
delete
get
goto
if
if and
if elseif
if not or
if not or not
if or
includes
js in xtscript
print
return
source
user defined functions
var
xt files
xtfunctions in xtscript
About us
Contact
Forum
Â