clause for setting a variable to $1 if it exists

Hi all,

What is the simplest way to setting a variable to $1 if it exists ?
If I go with name=${"$1":-abc}, bash complains "bad substitution",

So I use
name="$1"
name=${name:-abc}

But is there a way to fix this "bad substitution" ?

Thanks!

#name=${"$1":-abc} # ????#
name=${1:-abc}

All the best

Thanks! :o