Hello scripters,
I'd like to make a function with a variabele option like:
f_header ()
{
echo $HEADERTEXT
}
where HEADERTEXT is the option to f_header.
this works:
HEADERTEXT="the headertext"
f_header
but I'd like to put it in one line like:
f_header ("the headertext"
Anyone have a suggestion ?
Greetings André
I'd like to make a function with a variabele option like:
f_header ()
{
echo $HEADERTEXT
}
where HEADERTEXT is the option to f_header.
this works:
HEADERTEXT="the headertext"
f_header
but I'd like to put it in one line like:
f_header ("the headertext"
Anyone have a suggestion ?
Greetings André