Dear all
is sripting got subrouting feature? let's see:
if [ $a -eq 1 ]
then \(program will jump to the subrouting\)
........
fi
Best regds
Dear all
is sripting got subrouting feature? let's see:
if [ $a -eq 1 ]
then \(program will jump to the subrouting\)
........
fi
Best regds
You can call functions, with or without arguments, like in (ksh syntax):
#!/usr/bin/ksh
myFunction() {
p=$1
banner $p
}
echo before
myFunction "Hi"
myFunction "there!"
echo after