What you are asking is called positional parameters.
To be used by a shell just give its position, but in your case - only one
its just using the parameter $1
e.g.
1ra:/home/vbe $ cat found
WHAT=$1
find . -name "$WHAT" #
# find . -name "$1" # works also (HPUX)
#
1ra:/home/vbe $ found titi
./titi
./test/samples/wks/titi
./samples/titi