Asp 返回引用类型函数代码
代码如下:<% set studentinstance = CreateStudent() if not isnull(studentinstance) then Response.write(“StudentId:”&studentinstance.StudentId&””) Response.write(“StudentName:”&studentinstance.StudentName&””) end if Function CreateStudent() set stud = new Statudent stud.StudentId=123 stud.St