Wednesday, 4 July 2012

Ex30: Return a random number bw 0-99 in VBScript


<!DOCTYPE html>
<html>
<body>


<script type="text/vbscript">
Randomize()
randomNumber=Int(100 * Rnd())
document.write("A random number: <b>" & randomNumber & "</b>")
</script>


</body>
</html>

No comments:

Post a Comment