VBScript

Ordering Sub Procedures - 2

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:

Little Bo Peep
Has lost her sheep
And doesn't know
Where to find them
Leave them alone
And they'll come home
Wagging their tails
Behind them

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

<HTML>
<HEAD>
<TITLE>Little Bo Peep</TITLE>
<SCRIPT LANGUAGE="vbscript">
<!--
sub window_onload()
      msgbox "And they'll come home"
     'put in an appropriate comment here
     bravo()
     tango()
     foxtrot()
end sub
sub bravo()
     msgbox "And doesn't know"
     'put in an appropriate comment here
     delta()
     lima()
end sub
sub delta()
     msgbox "Little Bo Peep"
     'put in an appropriate comment here
     end sub
     sub tango()
     msgbox "Wagging their tails"
     'put in an appropriate comment here
     hotel()
end sub
sub foxtrot()
     msgbox "Leave them alone"
     'put in an appropriate comment here
end sub
sub lima()
     msgbox "Where to find them"
     'put in an appropriate comment here
juliet()
end sub
sub hotel()
     msgbox "Has lost her sheep"
     'put in an appropriate comment here
end sub
sub juliet()
     msgbox "Behind them"
     '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