VBScript Class - 2 by S P SHARMA CLASSES (7048972696)
<html>
<body>
<b id="k"></b>
<script type="text/VBScript">
'option explicit
dim a
a=5
document.writeln("a=" &a& "<br/>")
document.write("Numeric Represention of a=" & VarType(a) & "<br/>")
document.write("Text Represention of a=" & TypeName(a)& "<br/>")
dim b
b=empty
document.writeln("b=" &b& "<br/>")
document.write("Numeric Represention of b=" & VarType(b) & "<br/>")
document.write("Text Represention of b=" & TypeName(b)& "<br/>")
'dim b
b=null
document.writeln("b=" &b& "<br/>")
document.write("Numeric Represention of b=" & VarType(b) & "<br/>")
document.write("Text Represention of b=" & TypeName(b)& "<br/>")
b="Ram"
document.writeln("b=" &b& "<br/>")
document.write("Numeric Represention of b=" & VarType(b) & "<br/>")
document.write("Text Represention of b=" & TypeName(b)& "<br/>")
b=True
document.writeln("b=" &b& "<br/>")
document.write("Numeric Represention of b=" & VarType(b) & "<br/>")
document.write("Text Represention of b=" & TypeName(b)& "<br/>")
</script>
</body>
No comments:
Post a Comment