长安悦翔两厢2010款1.5at豪华型:Print a, b与Print a; b的区别?

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/03 19:33:27

Dim a as string,b as string
a="123"
b="456"
Print a,b
print a;b
---------------
运行结果:
123 456
123456
-------------------------------------------
Dim a As Integer,b as Integer
a=123
b=456
print a,b
print a;b
----------------------
运行结果:
123 456
123 456
-----------------------------------
Dim a As Integer,b as Integer
a=-123
b=-456
print a,b
print a;b
----------------------
运行结果:
123 456
-123-456

明白不 ?
我打完才看到,原来没有悬赏分...^-^