VBScript

Ordering Sub Procedures - 1

Re-arrange the sub procedures so that the nursery rhyme is in the correct order.

(No cheating: you can't just change the msgbox text around!)

For those of you who might not know the nursery rhyme, here it is in the correct order:

Mary had a little lamb
Its fleece was white as snow
And everywhere that Mary went
The lamb was sure to go

Copy the script for the page, which is given below.

<HTML>
<HEAD>
<TITLE>Mary had a little lamb</TITLE>
<SCRIPT LANGUAGE="vbscript">
<!--
sub window_onload()
msgbox "And everywhere that Mary went"
'put in an appropriate comment here
bravo()
tango()
end sub
sub bravo()
msgbox "Mary had a little lamb"
'put in an appropriate comment here
delta()
end sub
sub delta()
msgbox "The lamb was sure to go"
'put in an appropriate comment here
end sub
sub tango()
msgbox "It's fleece was white as snow"
'put in an appropriate comment here
end sub
-->
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>


Kathie Kingsley-Hughes
Last updated: May 4th 2004
Print This Page   |   Email me when this page changes    |  Search This Site



Crucial.com System Scanner does the work for you!



/a_global/close_links.inc"); ?>

Contact Us