Subroutine can be thought of as miniature programs. A subroutine has a name attributed with it, much like a variable does. Unlike a variable, a subroutine doesn’t hold data. Instead it holds code. When the code in a subroutine is executed, the subroutine is said to be “called”. ‘Call’ is use in calling subroutines. Some subroutines are called automatically when certain actions are performed.

Subroutines are used to eliminate redundancy. Consider the complicated programs such as Point of Sale System, Inventory System and other system that could be created using Visual Basic. Those systems need a manageable and lesser code that could be easy to debug and decode as needed. If subroutines are not use, all of the repeated code will be type in every form in the system. Debugging of those codes will be difficult to track down. Through the subroutines, code will be written once and can be called. In this case, the programmer can easily trace the errors and ready for debugging and making the entire program easier and manageable.

Written on October 28th, 2009 , Computers and Internet, Education

If the ship is surrounded by burning oil, your shoes and a Co2 preserver may be kept on but uninflated. When you jump, take a very deep breath cove your nose and mouth with one hand and your eyes with the other hand. Keep underwater as long as possible. When it necessary to come up for another breath, extend your arms above the surface. At this time make a wide sweeping movement with your hands and arms across the surface to splash the water and drive away the flames. As you pop above the surface, try to turn your back to the wind before you take a breath. Submerge again feet first, repeating the procedure until clear of the burning oil.

When going into oil which is not burning, it may be better to have your preserver and lay it on the water to use as a raft. Keep your face out of the water as much as possible. If the oil gets into your system, you will become nauseated.

Written on October 18th, 2009 , General, Health and Fitness

Teresa Lopes on the Net is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

Teresa Lopes on the Net