Home
XtGem-
Templates-
XtScript-
Translate this page
Powered by
Microsoft® Translator
Main Index
Predefined Functions
Scripts
Xtforum post
Short Url
if and
There is
NO
if ...
and
...
In Xtscripts
if
statement
You will have to use other
if
options to simulate
and
See related function links below
Example code
Show as text
<!--parser:xtscript--> # 2 random numbers var $x = call mt_rand $min=1;$max=100 var $y = call mt_rand $min=1;$max=100 # If ... and ... if $x > 0 and $y == 1 print The<b> and \$y == 1</b> is ignored <hr /> else print This never shows <hr /> endif print \$x=$x \$y=$y<br /> <!--/parser:xtscript-->
Show as text
Example output
Reload
The
and $y == 1
is ignored
$x=39 $y=42
Related pages
if or
if not or
if not or not
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
Â