Hello,

I want to solve a function using NLsolve, which has parameters. I do not want to pass them using global variables.

Simplified example:

```
using NLsolve
function f!(F, x)
global a, b
F[1] = a * sin(x[1]) + b
end
a = 1.0
b = 0.5
nlsolve(f!, [ 0.])
```

How can I solve this problem without using global variables?