<%@language="vbscript" codepage="65001"%>
<%Option Explicit '强制声明变量%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>互换位置</title>
</head>
<body>
<%
Dim a,b,c
a=5
b=7
c=a '此时c=5
a=b '此时a=7
b=c '此时b=5
Response.write"现在a的值是:"&a
Response.write"<p>现在c的值是:"&b
%>
</body>
</html>
结果: