2Hi.Biz
Trang chủ | TWIG | Xtscript | Templates | Xtgem
xtscript Việt hóa 2015
AiChat.Wap.Sh
sự liên hệ
Dây tiếp nhau
(Tham gia hai dây để tạo ra một chuỗi thứ ba)
[...] = optional ... = your value...[$...]...[$...]
Code ví dụ:
<!--parser:xtscript-->
var $a = snow
var $b = ball

#1 To join two or more variables just put them next to each other
var $c = $a$b
print 1/$c <br />

#2 There must be a space or a character that is not valid in a variable name between a variable name and a string
var $c = $a-man
print 2/$c <br />

#3 The $ character will serve to separate a string from a variable name
var $c=foot$b
print 3/$c <br />

#4 These will not work
var $c = ($a+$b)
print 4/$c <br />
var $c = $a+$b
print 5/$c <br />

<!--/parser:xtscript-->
Code đã chạy;
1/snowball
2/snow-man
3/football
4/0
5/snow+ball