ce简体中文版:Print a, b与Print a; b的区别?

来源:百度文库 编辑:中科新闻网 时间:2024/05/05 03:49:38

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

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