VB里temp是什么意思

VB里的语句
2025-03-07 09:21:40
推荐回答(2个)
回答1:

一般用做两个变量交换的中转变量,是自己定义的
比如
dim a as integer,b as integer,temp as integer
a=100:b=200
temp=a:a=b:b=temp
print a,b
输出结果是:200,100
a,b用temp变量做了交换.

回答2:

“temp”在英汉词典中的解释(来源:百度词典):
1. 【口】临时

是临时变量输出