Doubt about variables scope

I call my script with two parameters

myscript.sh aaa bbb

What is the way to access $1 and $2 values inside a function? I call the function like this

myfuntion $1 $1

but inside of the function, $1 and $2 are empty. Any suggestions? thank you in advanced.

try this:

eval myfuntion $1 $1

let me know if it works.......