一个最简单的vbs类实例代码
程序员文章站
2022-06-23 21:18:10
class cfoo sub printhello() ...
class cfoo
sub printhello()
response.write "hello world!"
end sub
end class
dim obj
set obj = new cfoo
call obj.printhello
set obj = nothing
sub printhello()
response.write "hello world!"
end sub
end class
dim obj
set obj = new cfoo
call obj.printhello
set obj = nothing