Applet coding instructions (sample format shown below).
Initial order in applet:
function2 ()
function1 ()
function2
<the next 4 lines are one step>{ echo “This is function 2” function1 } <the next 3 lines are one step> {echo “This is function 1” } #! /bin/shCorrect order:
#! /bin/sh
function1 ()
{
echo “This is function 1”
}
function2 ()
{
echo “This is function 2”
function1
}
function2